Build Release #13
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: Build Release | |
on: | |
workflow_dispatch: | |
jobs: | |
### x86-64 linux | |
build-linux_x86_64: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up alire | |
uses: alire-project/setup-alire@v3 | |
- name: Build yass | |
run: > | |
alr -n update && | |
alr -n build --release | |
- name: Compress yass | |
run: zip -r yass-linux_x86_64.zip bin | |
- name: Upload yass | |
uses: actions/upload-artifact@v2 | |
with: | |
name: yass-linux_x86_64.zip | |
path: yass-linux_x86_64.zip | |
### x86-64 MacOS | |
build-macos_x86_64: | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: install latest xcode stuff | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Set up alire | |
uses: alire-project/setup-alire@v3 | |
- name: Build yass | |
run: > | |
alr -n update && | |
alr -n build --release | |
- name: Compress yass | |
run: zip -r yass-mac_x86_64.zip bin | |
- name: Upload yass | |
uses: actions/upload-artifact@v2 | |
with: | |
name: yass-mac_x86_64.zip | |
path: yass-mac_x86_64.zip | |
### build on windows | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up alire | |
uses: alire-project/setup-alire@v3 | |
- name: Build yass | |
run: > | |
alr -n update && | |
alr -n build --release | |
- name: Compress yass | |
run: 7z a -tzip yass-win.zip bin | |
- name: upload yass | |
uses: actions/upload-artifact@v2 | |
with: | |
name: yass-win.zip | |
path: yass-win.zip |