ci(github-actions): fix manual release script path #76
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
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
PYTHONIOENCODING: utf-8 | |
PYTHONLEGACYWINDOWSSTDIO: utf-8 | |
jobs: | |
check-macos-x86_64: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-11] | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@v4 | |
with: | |
path: main | |
submodules: 'true' | |
- name: Preparations | |
working-directory: main | |
run: | | |
git submodule init | |
git submodule update | |
brew install cmake ninja gcc p7zip | |
mkdir -p compiler/cmake-build-release | |
- name: Configuring CMake | |
working-directory: main/compiler/cmake-build-release | |
run: | | |
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../ | |
- name: Build | |
working-directory: main/compiler/cmake-build-release | |
run: | | |
ninja all | |
- name: Test | |
working-directory: main/compiler/cmake-build-release | |
run: | | |
ninja test |