Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Oct 31, 2024
1 parent ec76a62 commit c30bf19
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 20 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ jobs:
TARGET_FLAGS: ""
# When CARGO is set to CROSS, TARGET_DIR includes matrix.target.
TARGET_DIR: ./target

LLVM_SYS_180_PREFIX: "${{ env.LLVM_PATH }}"

# Emit backtraces on panics.
RUST_BACKTRACE: 1
strategy:
Expand All @@ -91,7 +94,16 @@ jobs:
rust: stable
target: aarch64-unknown-linux-musl
name: aarch64-linux

- build: macos
os: macos-12
rust: stable
target: x86_64-apple-darwin
name: x86_64-macos
- build: macos-arm
os: macos-12
rust: stable
target: aarch64-apple-darwin
name: aarch64-macos
- build: win-msvc
os: windows-2022
rust: stable
Expand All @@ -110,7 +122,7 @@ jobs:
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: "18.1.8"
version: "10.0"
directory: ${{ runner.temp }}/llvm

- name: Install Rust
Expand All @@ -133,8 +145,13 @@ jobs:
echo "target flag is: ${{ env.TARGET_FLAGS }}"
echo "target dir is: ${{ env.TARGET_DIR }}"
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: "16.0"

- name: Build release binary
run: LLVM_SYS_180_PREFIX=${{ env.LLVM_PATH }} ${{ env.CARGO }} build --verbose --release ${{ env.TARGET_FLAGS }}
run: ${{ env.CARGO }} build --verbose --release ${{ env.TARGET_FLAGS }} --features=inkwell/llvm16-0-prefer-static

- name: Build release file
shell: bash
Expand Down
19 changes: 3 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gitql-ast = "0.26.0"
gitql-parser = "0.28.0"
gitql-engine = "0.29.0"
gitql-cli = "0.29.0"
inkwell = { version = "0.5.0", features = ["llvm18-0"] }
inkwell = { version = "0.5.0", features = ["llvm16-0"] }
lineeditor = "0.4.1"
dyn-clone = "1.0.17"
atty = "0.2.14"

0 comments on commit c30bf19

Please sign in to comment.