Skip to content

Aurora v1.20.1

Aurora v1.20.1 #21

name: build-for-release
on:
release:
types: [published]
jobs:
build:
permissions: write-all
strategy:
matrix:
include:
- os: "ubuntu-22.04"
os-name: "linux"
ext: ""
- os: "windows-2022"
os-name: "windows"
ext: ".exe"
runs-on: "${{matrix.os}}"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build Binary
run: "clang++ aurora.cpp external/Fathom-1.0/src/tbprobe.cpp -o aurora-${{github.ref_name}}-${{matrix.os-name}}${{matrix.ext}} -O3 -march=x86-64-v3"
- name: Upload Binary to Release
uses: alexellis/upload-assets@0.4.0
env:
GITHUB_TOKEN: ${{github.token}}
with:
asset_paths: '["aurora-${{github.ref_name}}-${{matrix.os-name}}${{matrix.ext}}"]'