diff --git a/.github/workflows/build_release_master.yml b/.github/workflows/build_release_master.yml new file mode 100644 index 0000000..13accca --- /dev/null +++ b/.github/workflows/build_release_master.yml @@ -0,0 +1,36 @@ +name: Build Master Release +on: [push, workflow_dispatch] +jobs: + build-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build Linux Release + run: cargo build --release + - name: Upload Linux Artifact + uses: actions/upload-artifact@v3 + with: + name: linux_so + path: target/release/libcolcon.so + build-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - name: Build MacOs Release + run: cargo build --release + - name: Upload MacOS Artifact + uses: actions/upload-artifact@v3 + with: + name: macos_dylib + path: target/release/libcolcon.dylib + build-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Build Windows Release + run: cargo build --release + - name: Upload Windows Artifact + uses: actions/upload-artifact@v3 + with: + name: windows_dll + path: target/release/colcon.dll