Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
s00d committed May 31, 2024
1 parent 9570e24 commit 9a73369
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
php-version: [8.1, 8.2, 8.3] # Add more PHP versions as needed
arch: [x86_64, aarch64]
arch: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]

steps:
- name: Checkout repository
Expand All @@ -31,16 +31,16 @@ jobs:
target: ${{ matrix.arch }}

- name: Install Rust target
run: rustup target add ${{ matrix.arch }}-unknown-linux-gnu
run: rustup target add ${{ matrix.arch }}

- name: Build project
run: cargo build --release --target ${{ matrix.arch }}-unknown-linux-gnu
run: cargo build --release --target ${{ matrix.arch }}

- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: libphprocksdb-${{ matrix.php-version }}-${{ matrix.arch }}
path: target/${{ matrix.arch }}-unknown-linux-gnu/release/libphprocksdb.so
path: target/${{ matrix.arch }}/release/libphprocksdb.so

release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9a73369

Please sign in to comment.