fix: no error report when 'build' folder is already exists on Windows #34
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: Build Tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
test-gcc-clang: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install just | |
run: | | |
sudo apt update | |
sudo apt install cargo | |
cargo install just | |
- name: Install GCC 12 | |
run: | | |
sudo apt update | |
sudo apt install gcc-12 g++-12 | |
- name: Install Clang 14 | |
run: | | |
sudo apt update | |
sudo apt install llvm-14 libstdc++-12-dev | |
- uses: actions/checkout@v4 | |
- name: Build and Run Tests with GCC 12 | |
run: | | |
just t g++-12 | |
- name: Build and Run Test with Clang 14 | |
run: | | |
just t clang++-14 | |
test-msvc: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
vsversion: 2022 | |
- name: Build and run Test with MSVC | |
run: | | |
nmake /f nmakefile |