Skip to content

Commit

Permalink
Test linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mugikhan committed May 23, 2024
1 parent 49526e4 commit 8b2c271
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
pull_request:
name: "linux"
jobs:
build:
name: Building Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Install Rust Nightly
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2024-05-18
components: rust-src
targets: x86_64-unknown-linux-gnu

- name: Setup
run: |
cargo build -p powersync_loadable --release --target x86_64-unknown-linux-gnu -Zbuild-std
mv "target/x86_64-unknown-linux-gnu/release/libisar.so" "libisar_linux_x64.so"
- name: Upload binary
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: libisar_linux_x64.so
asset_name: libisar_linux_x64.so
tag: 0.1.6

0 comments on commit 8b2c271

Please sign in to comment.