Skip to content

chore: set the macos version to 13 #447

chore: set the macos version to 13

chore: set the macos version to 13 #447

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install zig
uses: korandoru/setup-zig@v1
with:
zig-version: 0.12.0 # released versions or master
- name: Test Build
run: |
zig build test
- name: Test Rebo suite and markdown code blocks
run: |
zig build run -- ./bin/rebo-test
'upload-darwin-xxxxxx-artefact':
runs-on: macos-13
needs:
- build
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Install zig
uses: korandoru/setup-zig@v1
with:
zig-version: 0.12.0 # released versions or master
- name: Build binary
run: |
zig build-exe ./src/main.zig -O ReleaseFast -fstrip
- name: Show hardware info
run: |
uname -a
uname -m
ls -Fal
- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Upload artifact
run: |
az storage blob upload \
--account-name littlelanguages \
--container-name rebo \
--name darwin-x86_64 \
--type block \
--tier hot \
--file ./main --overwrite
az storage blob upload \
--account-name littlelanguages \
--container-name rebo \
--name darwin-aarch64 \
--type block \
--tier hot \
--file ./main --overwrite