Skip to content

Add tests on windows and macos. #7

Add tests on windows and macos.

Add tests on windows and macos. #7

Workflow file for this run

name: Github CI
on: [ push, pull_request ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: prepare
run: |
sudo apt-get update
sudo apt-get install inotify-tools
- name: build
run: g++ -Wall -W -O2 remake.cpp -o remake
- name: test
run: ./remake check
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: build
run: clang++ -Wall -W -O2 remake.cpp -o remake
- name: test
run: |
cd testsuite
./all.sh t001.sh t002.sh t003.sh t004.sh t005.sh t006.sh t007.sh t008.sh t010.sh t011.sh t014.sh t015.sh
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: build
run: g++ -Wall -W -O2 remake.cpp -o remake -lws2_32
- name: test
shell: bash
run: ./remake check