|
|
|
@ -241,17 +241,29 @@ jobs: |
|
|
|
|
git push |
|
|
|
|
|
|
|
|
|
publish_binary_linux: |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
with: |
|
|
|
|
submodules: true |
|
|
|
|
- run: rustup update && rustup target add aarch64-unknown-linux-gnu |
|
|
|
|
- run: | |
|
|
|
|
sudo apt install -y g++-aarch64-linux-gnu |
|
|
|
|
mkdir .cargo |
|
|
|
|
echo -e "[target.aarch64-unknown-linux-gnu]\nlinker = \"aarch64-linux-gnu-gcc\"" >> .cargo/config.toml |
|
|
|
|
- run: cargo build --release |
|
|
|
|
working-directory: ./server |
|
|
|
|
- run: cargo build --release --target aarch64-unknown-linux-gnu |
|
|
|
|
working-directory: ./server |
|
|
|
|
env: |
|
|
|
|
BINDGEN_EXTRA_CLANG_ARGS: --sysroot /usr/aarch64-linux-gnu |
|
|
|
|
- run: mv target/release/oxigraph_server oxigraph_server_${{ github.event.release.tag_name }}_x86_64_linux_gnu |
|
|
|
|
- run: mv target/aarch64-unknown-linux-gnu/release/oxigraph_server oxigraph_server_${{ github.event.release.tag_name }}_aarch64_linux_gnu |
|
|
|
|
- uses: softprops/action-gh-release@v1 |
|
|
|
|
with: |
|
|
|
|
files: oxigraph_server_${{ github.event.release.tag_name }}_x86_64_linux_gnu |
|
|
|
|
files: | |
|
|
|
|
oxigraph_server_${{ github.event.release.tag_name }}_x86_64_linux_gnu |
|
|
|
|
oxigraph_server_${{ github.event.release.tag_name }}_aarch64_linux_gnu |
|
|
|
|
|
|
|
|
|
publish_binary_mac: |
|
|
|
|
runs-on: macos-latest |
|
|
|
@ -272,7 +284,9 @@ jobs: |
|
|
|
|
- run: mv target/aarch64-apple-darwin/release/oxigraph_server oxigraph_server_${{ github.event.release.tag_name }}_aarch64_apple |
|
|
|
|
- uses: softprops/action-gh-release@v1 |
|
|
|
|
with: |
|
|
|
|
files: oxigraph_server_${{ github.event.release.tag_name }}_x86_64_apple |
|
|
|
|
files: | |
|
|
|
|
oxigraph_server_${{ github.event.release.tag_name }}_x86_64_apple |
|
|
|
|
oxigraph_server_${{ github.event.release.tag_name }}_aarch64_apple |
|
|
|
|
|
|
|
|
|
publish_binary_windows: |
|
|
|
|
runs-on: windows-latest |
|
|
|
|