Add Style contructor flags for alignment #366
Workflow file for this run
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
name: CI | |
on: | |
push: | |
release: | |
types: [published] | |
env: | |
TOIT_VERSION: v2.0.0-alpha.121 | |
jobs: | |
build: | |
strategy: | |
matrix: | |
# Zlib in Toit is not available on these platforms yet. | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Toit | |
id: setup-toit | |
uses: toitlang/action-setup@v1 | |
with: | |
toit-version: ${{ env.TOIT_VERSION }} | |
# Fetch the dependencies. Different for each platform. | |
- name: Install dependencies - Linux | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install ninja-build | |
ninja --version | |
cmake --version | |
- name: Install dependencies - macOS | |
if: runner.os == 'macOS' | |
run: | | |
brew install ninja | |
ninja --version | |
cmake --version | |
- name: Install dependencies - Windows | |
if: runner.os == 'Windows' | |
run: | | |
choco install ninja | |
ninja --version | |
cmake --version | |
- name: Run cmake | |
shell: bash | |
run: | | |
make rebuild-cmake | |
cmake build | |
- name: Install packages | |
run: | | |
make install-pkgs | |
- name: Test | |
run: | | |
make test |