Skip to content

test(e2e): update snapshot for windows #195

test(e2e): update snapshot for windows

test(e2e): update snapshot for windows #195

Workflow file for this run

on:
push:
branches:
- main
workflow_dispatch:
env:
PYTHONIOENCODING: utf-8
PYTHONLEGACYWINDOWSSTDIO: utf-8
jobs:
check-windows-x86_64:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019]
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
mkdir compiler/cmake-build-release
- name: Test
working-directory: main/compiler/cmake-build-release
run: |
cmake -DCMAKE_BUILD_TYPE=Release ../ -B .
cmake --build . --config Release
cd ..\bin
Copy-Item -Path ".\Release\*" -Destination ".\" -Force
.\YakshaTests.exe
check-ubuntu-x86_64:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
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
sudo apt update
sudo apt install -y cmake ninja-build g++
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
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