Skip to content

Add additional parameters to check for tools allowed with scripts #138

Add additional parameters to check for tools allowed with scripts

Add additional parameters to check for tools allowed with scripts #138

name: Nightly build MacOS Intel
on: [push]
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: install_dependencies
run: |
brew install cmake pkg-config libpng freetype zstd sdl2 fluidsynth
- name: build
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSIMUTRANS_UPDATE_LANGFILES=ON
cmake --build build --target install
- name: distribute
run: |
cd build
zip -r simumac-nightly.zip simutrans
- name: Update binaries of Nightly Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/simumac-nightly.zip
asset_name: simumac-intel-nightly.zip
tag: Nightly
overwrite: true