mixed behav profile: payoff, infoset_value, and action_value all thro… #433
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 executables | |
on: | |
push: | |
pull_request: | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc | |
sudo apt-add-repository 'deb https://repos.codelite.org/wx3.1.5/ubuntu/ focal universe' | |
sudo apt-get update | |
sudo apt-get install -y automake autoconf | |
sudo apt-get install -y libwxbase3.1-0-unofficial \ | |
libwxbase3.1unofficial-dev \ | |
libwxgtk3.1-0-unofficial \ | |
libwxgtk3.1unofficial-dev \ | |
wx3.1-headers \ | |
wx-common \ | |
libnotify-dev | |
- run: aclocal | |
- run: automake --add-missing | |
- run: autoconf | |
- run: ./configure | |
- run: make | |
- run: sudo make install | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: brew install automake autoconf wxwidgets | |
- run: aclocal | |
- run: automake --add-missing | |
- run: autoconf | |
- run: ./configure | |
- run: make | |
- run: sudo make install | |
- run: make osx-dmg | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: "*.dmg" | |
windows: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
install: mingw-w64-x86_64-toolchain make automake autoconf | |
- run: pacman -S --noconfirm mingw-w64-x86_64-wxmsw3.2 | |
- run: aclocal | |
- run: automake --add-missing | |
- run: autoconf | |
- run: ./configure --disable-enumpoly --with-wx-config=wx-config-3.2 | |
- run: make -j 4 | |
# We execute the installer build explicitly to put in the explicit paths to | |
# the WiX executables, rather than relying on the Makefile target | |
- name: Build .msi installer | |
run: | | |
mkdir installer | |
cp gambit* installer | |
"/c/Program Files (x86)/WiX Toolset v3.11/bin/candle" gambit.wxs | |
"/c/Program Files (x86)/WiX Toolset v3.11/bin/light" -ext WixUIExtension gambit.wixobj | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: "*.msi" |