Skip to content

Sanmill v4.0.0 (3826) #121

Sanmill v4.0.0 (3826)

Sanmill v4.0.0 (3826) #121

Workflow file for this run

name: CUI
on:
push:
branches: [release]
paths:
- 'src/**/*.cpp'
- 'src/**/*.h'
pull_request:
types: [review_requested, ready_for_review]
paths:
- 'src/**/*.cpp'
- 'src/**/*.h'
jobs:
cygwin-gcc:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Cygwin
uses: cygwin/cygwin-install-action@master
with:
platform: x86_64
packages: make gcc-g++
# Build
- name: Build with cygwin-g++
run: cd src; make -j build ARCH=x86-64
# Archive
- name: Archive
uses: actions/upload-artifact@v3
with:
name: sanmill_cygwin-g++.exe
path: src/sanmill.exe
linux-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Export environment valuables
run: export
- name: Print g++ version
run: g++ -v
- name: Create version
run: git fetch --tags; git tag; git log -n1; bash -x ./version.sh
# Build
- name: Build with linux-g++
run: cd src; make -j build ARCH=x86-64
# Archive
- name: Archive
uses: actions/upload-artifact@v3
with:
name: sanmill_linux-g++
path: src/sanmill
darwin-gcc:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Export environment valuables
run: export
- name: Print g++ version
run: g++ -v
# Build
- name: Build with darwin-g++
run: cd src; make -j build ARCH=x86-64
# Archive
- name: Archive
uses: actions/upload-artifact@v3
with:
name: sanmill_darwin-g++
path: src/sanmill