From 8b2c2715929159d05326f586311282e8f2d228b3 Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Thu, 23 May 2024 14:39:20 +0200 Subject: [PATCH] Test linux workflow --- .github/workflows/linux.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/linux.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000..2acb455 --- /dev/null +++ b/.github/workflows/linux.yml @@ -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