Skip to content

Commit

Permalink
add zig shims
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Jan 25, 2024
1 parent 3eba8ca commit 4b2f36e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
name: Cross compile
runs-on: ubuntu-latest
env:
CC: zig cc
CXX: zig c++
CC: ${{ github.workspace }}/zigshim/cc
CXX: ${{ github.workspace }}/zigshim/cxx
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 2 additions & 0 deletions zigshim/cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
zig cc "$@"
2 changes: 2 additions & 0 deletions zigshim/cxx
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
zig c++ "$@"

0 comments on commit 4b2f36e

Please sign in to comment.