Fix #348 (race condition in SHA) #735
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: C/C++ CI | |
on: [push, pull_request] | |
jobs: | |
build-linux: | |
name: Linux build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y libkrb5-dev | |
- name: configure | |
run: | | |
./bootstrap | |
./configure | |
- name: make | |
run: make | |
- name: make distcheck | |
run: make distcheck | |
build-windows: | |
name: Windows build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Cmake configure | |
run: | | |
cmake -G "Visual Studio 17 2022" . | |
- name: Build (MSVC) | |
run: | | |
cmake --build . | |
build-ps2: | |
name: PS2 build | |
runs-on: ubuntu-latest | |
container: ps2dev/ps2dev:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
apk add build-base git zip gawk python3 py3-pip bash | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: Compile PS2 EE Side | |
run: | | |
cd lib | |
make -f Makefile.PS2_EE clean | |
make -f Makefile.PS2_EE | |
- name: Compile PS2 EE IPS Side | |
run: | | |
cd lib | |
make -f Makefile.PS2_EE_IPS clean | |
make -f Makefile.PS2_EE_IPS | |
- name: Compile PS2 IOP Side | |
run: | | |
cd lib | |
make -f Makefile.PS2_IOP clean | |
make -f Makefile.PS2_IOP | |
build-switch: | |
name: SWITCH build | |
runs-on: ubuntu-latest | |
container: devkitpro/devkita64:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update -y && apt-get install -y gettext smpq | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: Compile Nintendo Switch | |
run: | | |
cd lib | |
make -f Makefile.SWITCH clean | |
make -f Makefile.SWITCH | |
build-3ds: | |
name: 3DS build | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitarm:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update -y && apt-get install -y ffmpeg gettext smpq | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: Compile Nintendo 3DS | |
run: | | |
cd lib | |
make -f Makefile.3DS clean | |
make -f Makefile.3DS | |
build-wii: | |
name: WII build | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitppc:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update -y && apt-get install -y ffmpeg gettext smpq | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: Compile Nintendo WII | |
run: | | |
cd lib | |
make -f Makefile.WII clean | |
make -f Makefile.WII | |
build-gc: | |
name: GameCube build | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitppc:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update -y && apt-get install -y ffmpeg gettext smpq | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: Compile Nintendo Gamecube | |
run: | | |
cd lib | |
make -f Makefile.GC clean | |
make -f Makefile.GC | |
build-wiiu: | |
name: WII-U Build | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitppc:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update -y && apt-get install -y ffmpeg gettext smpq | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: Compile WII-U | |
run: | | |
cd lib | |
make -f Makefile.WIIU clean | |
make -f Makefile.WIIU | |
build-ds: | |
name: DS build | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitarm:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update -y && apt-get install -y ffmpeg gettext smpq | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: Compile NDS ARM9 | |
run: | | |
cd lib | |
make -f Makefile.DS_ARM9 clean | |
make -f Makefile.DS_ARM9 | |
build-ps3-ppu: | |
name: PS3 PPU build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set env vars | |
id: slug | |
run: | | |
echo "sha_name=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_ENV | |
# using pre-compiled sdk | |
- name: Download PSL1GHT Toolchain | |
run: | | |
curl -sL https://github.com/bucanero/ps3toolchain/releases/download/ubuntu-latest-fad3b5fb/ps3dev-ubuntu-latest-2020-08-31.tar.gz | tar xvz -C ./ | |
echo "PS3DEV=${GITHUB_WORKSPACE}/ps3dev" >> $GITHUB_ENV | |
echo "PSL1GHT=${GITHUB_WORKSPACE}/ps3dev" >> $GITHUB_ENV | |
- name: build libsmb2 | |
run: | | |
cd lib | |
make -f Makefile.PS3_PPU clean | |
make -f Makefile.PS3_PPU |