From b712b676b837aa0ffb14f179dc3f5a17d0c410b3 Mon Sep 17 00:00:00 2001 From: Patrick Unick Date: Thu, 13 Feb 2025 12:12:01 -0800 Subject: [PATCH] [uni] update and rename artifacts.yml to release.yml --- .github/workflows/artifacts.yml | 28 ------------ .github/workflows/release.yml | 75 +++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/artifacts.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml deleted file mode 100644 index 601fb4c..0000000 --- a/.github/workflows/artifacts.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Build Artifacts - -on: - workflow_dispatch: - push: - tags: - - "v*" - -env: - CARGO_TERM_COLOR: always - -jobs: - # build base and upload as an artifact - build: - runs-on: windows-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - - name: Build - run: cargo build --release --bin aplang - - - name: Upload build artifact - uses: actions/upload-artifact@v4.6.0 - with: - name: windows-aplang-binary - path: target/release/aplang.exe diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..7bfaeb8 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,75 @@ +name: Build Artifacts + +on: + workflow_dispatch: + push: + tags: + - "v*" + +env: + CARGO_TERM_COLOR: always + +jobs: + build-windows: + runs-on: windows-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Build + run: cargo build --release --bin aplang + + - name: Upload build artifact + uses: actions/upload-artifact@v4.6.0 + with: + name: aplang-windows-binary + path: target/release/aplang.exe + + build-windows-portable: + runs-on: windows-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Build + run: cargo build --release --no-default-features --features portable --bin aplang + + - name: Upload build artifact + uses: actions/upload-artifact@v4.6.0 + with: + name: aplang-windows-portable-binary + path: target/release/aplang.exe + + build-macos: + runs-on: macos-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Build + run: cargo build --release --no-default-features --features portable --bin aplang + + - name: Upload build artifact + uses: actions/upload-artifact@v4.6.0 + with: + name: aplang-macos-binary + path: target/release/aplang + + build-macos-portable: + runs-on: macos-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Build + run: cargo build --release --no-default-features --features portable --bin aplang + + - name: Upload build artifact + uses: actions/upload-artifact@v4.6.0 + with: + name: aplang-macos-portable-binary + path: target/release/aplang