Skip to content

Commit

Permalink
beta5
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoshinonyaruko committed Jan 21, 2024
1 parent a2989c2 commit 611cd8b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/cross_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,26 @@ jobs:
with:
go-version: '1.21.1' # Set to specific Go version.

- name: Install build dependencies
- name: Install build dependencies (macOS)
if: matrix.os == 'darwin'
run: |
brew update
brew install sqlite3
- name: Install build dependencies (Ubuntu)
if: matrix.os == 'linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libc6-dev libsqlite3-dev
- name: Install build dependencies (Windows)
if: matrix.os == 'windows'
run: |
choco install mingw
echo "CGO_ENABLED=1" >> $GITHUB_ENV
echo "CC=gcc" >> $GITHUB_ENV
echo "CXX=g++" >> $GITHUB_ENV
- name: Create output directory
run: mkdir -p output

Expand Down

0 comments on commit 611cd8b

Please sign in to comment.