Skip to content

Raven-MacOS-x86_64 #243

Raven-MacOS-x86_64

Raven-MacOS-x86_64 #243

name: Raven-MacOS-x86_64
on:
schedule:
- cron: "0 0 * * *"
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Cancel any other build tasks running right now to prevent stale uploads
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
permissions: write-all
runs-on: macos-13
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Add Nightly
run: rustup toolchain install nightly
- name: Test
run: cargo +nightly test --verbose --bin magpie -- --nocapture
- name: Build
run: cargo +nightly build --verbose --release --bin magpie
- name: Build Wrapper
run: cargo +nightly build --verbose --release --bin magpie-wrapper
- name: Release Raven
uses: shogo82148/actions-upload-release-asset@v1
if: github.event_name == 'push' && github.repository == 'BigBadE/Raven-Language'
with:
upload_url: https://uploads.github.com/repos/BigBadE/Raven-Language/releases/123226271/assets
asset_path: target/release/magpie
asset_name: Magpie-macos
overwrite: true
- name: Release Magpie Wrapper
uses: shogo82148/actions-upload-release-asset@v1
if: github.event_name == 'push' && github.repository == 'BigBadE/Raven-Language'
with:
upload_url: https://uploads.github.com/repos/BigBadE/Raven-Language/releases/123226271/assets
asset_path: target/release/magpie-wrapper
asset_name: Magpie-wrapper-macos
overwrite: true