Skip to content

Commit

Permalink
build(ci): add llvm backend
Browse files Browse the repository at this point in the history
  • Loading branch information
linux-china committed Mar 11, 2024
1 parent 634775e commit 0dd94bc
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,32 @@ jobs:
include:
- os: ubuntu-latest
fileName: zawk-x86_64-unknown-linux-gnu
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build

build-on-mac:
name: ${{ matrix.version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-latest
fileName: zawk-x86_64-apple-darwin
- os: macos-14
fileName: zawk-aarch64-apple-darwin
steps:
- env:
LLVM_SYS_150_PREFIX: ${{ runner.temp }}/llvm
- uses: actions/checkout@v4
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "15.0.7"
directory: ${{ runner.temp }}/llvm
- name: Build
run: cargo build
run: cargo build --features llvm_backend

build-on-windows:
name: ${{ matrix.version }} on ${{ matrix.os }}
Expand Down

0 comments on commit 0dd94bc

Please sign in to comment.