Release v1.0.1 #217
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: cross-build | |
# on: | |
# push: | |
# branches: | |
# - improve-and-fix-workflow | |
# # pull_request: | |
# # types: [closed] | |
# # branches: | |
# # - main | |
# jobs: | |
# wait-for-other-workflow: | |
# name: Wait for Other Workflow | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Wait for Other Workflow to Complete | |
# run: "echo 'Waiting for other workflow to complete...'" | |
# build: | |
# if: github.event.pull_request.merged == true | |
# name: Build C release for ${{ matrix.os.name }} | |
# strategy: | |
# matrix: | |
# os: | |
# - name: ubuntu | |
# lib: libsurrealdb_c.so | |
# - name: macos | |
# lib: libsurrealdb_c.dylib | |
# - name: windows | |
# lib: surrealdb_c.dll | |
# runs-on: ${{ format('{0}-latest', matrix.os.name) }} | |
# steps: | |
# - name: Checkout Surreal C lib | |
# uses: actions/checkout@v3 | |
# with: | |
# repository: surrealdb/surrealdb.c | |
# - name: Set up Rust | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# toolchain: stable | |
# override: true | |
# - name: Build Rust library | |
# run: cargo build --release | |
# - name: Archive library | |
# run: | | |
# mkdir -p dist/${{ matrix.os.name }} | |
# cp target/release/${{ matrix.os.lib }} dist/${{ matrix.os.name }}/${{ matrix.os.lib }} | |
# - name: Upload build artifacts | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: ${{ matrix.os.name }}-build | |
# path: dist/${{ matrix.os.name }} |