Skip to content

Build Release

Build Release #12

Workflow file for this run

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