Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zengxs committed Nov 21, 2024
1 parent f17f02f commit cf1f700
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ jobs:
strategy:
matrix:
go-version: ["1.23.3"]
os: [ubuntu-latest, windows-latest, macos-latest]
os:
- ubuntu-latest
- macos-latest
# - windows-latest # Windows seems to have some issues with the Zig installation
runs-on: ${{ matrix.os }}
env:
# Our script only installs the dependencies automatically if it's running inside Docker.
Expand Down Expand Up @@ -37,6 +40,12 @@ jobs:
container:
image: golang:1.23.3
steps:
# Install Git for checking out the repository, otherwise the checkout action will
# download the repository by REST API. This will cause go build to fail because it
# will do some git operations.
- run: |
apt-get update -yq
apt-get install -yq git
- uses: actions/checkout@v4
- name: Build
run: |
Expand All @@ -45,6 +54,6 @@ jobs:
- name: Test
run: ./dist/linux-amd64/demo --database-url=sqlite://./test.sqlite3
- name: Upload Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: dist

0 comments on commit cf1f700

Please sign in to comment.