Skip to content

feat: Add PEXT bitboards and multiple build options (#2) #8

feat: Add PEXT bitboards and multiple build options (#2)

feat: Add PEXT bitboards and multiple build options (#2) #8

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
build:
name: Build Debug
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-24.04 ]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Remove conflicting packages
run: |
sudo apt remove needrestart
- name: Install latest GCC
run: |
sudo add-apt-repository universe -y
sudo apt-get update -y
sudo apt-get install g++-14 gcc-14 -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 60 --slave /usr/bin/g++ g++ /usr/bin/g++-14
sudo apt-get install gcc-14-multilib g++-14-multilib -y
- name: Set environment variables
run: |
echo "CC=$(which gcc-14)" >> $GITHUB_ENV
echo "CXX=$(which g++-14)" >> $GITHUB_ENV
- name: Build
run: make debug CXX=${{ env.CXX }}
- name: Clean
run: make clean