ai: Focus on blocking paths in the placing phase or when 4 pieces are… #169
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: 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@v4 | |
- 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@v4 | |
with: | |
name: sanmill_cygwin-g++.exe | |
path: src/sanmill.exe | |
linux-gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v4 | |
with: | |
name: sanmill_linux-g++ | |
path: src/sanmill | |
darwin-gcc: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v4 | |
with: | |
name: sanmill_darwin-g++ | |
path: src/sanmill |