actions: More deprecation #49
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 | |
on: push | |
jobs: | |
make: | |
name: Make | |
runs-on: ubuntu-latest | |
env: | |
WATCOM: /opt/watcom | |
EDPATH: /opt/watcom/eddat | |
INCLUDE: /opt/watcom/h:/opt/watcom/lh | |
steps: | |
- name: Install build tools | |
run: sudo apt update && sudo apt install build-essential crossbuild-essential-i386 xz-utils | |
- name: Download OpenWatcom | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
rm -rf /opt/watcom | |
mkdir /opt/watcom | |
wget -qO- https://github.com/open-watcom/open-watcom-v2/releases/download/2023-12-01-Build/ow-snapshot.tar.xz | tar -Jxv -C /opt/watcom | |
echo "/opt/watcom/binl64:/opt/watcom/binl" >> $GITHUB_PATH | |
- name: Download and build libpci | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
rm -rf /opt/pciutils-* | |
wget -qO- https://github.com/pciutils/pciutils/releases/download/v3.13.0/pciutils-3.13.0.tar.gz | tar -zxv -C /opt | |
cd /opt/pciutils-* | |
make CC=i686-linux-gnu-gcc ZLIB=no DNS=no SHARED=no | |
sudo make install-lib | |
- uses: actions/checkout@v4 | |
- name: Build `cp437` | |
run: | | |
cd ${{ github.workspace }}/cp437 | |
gcc cp437.c -o cp437 | |
- name: Build `ac97` | |
run: | | |
cd ${{ github.workspace }}/ac97 | |
wmake | |
- name: Build `acpi` | |
run: | | |
cd ${{ github.workspace }}/acpi | |
wmake | |
- name: Build `biosdump` | |
run: | | |
cd ${{ github.workspace }}/biosdump | |
wmake | |
- name: Build `isapnp` | |
run: | | |
cd ${{ github.workspace }}/isapnp | |
wmake | |
- name: Build `pcireg` | |
run: | | |
cd ${{ github.workspace }}/pcireg | |
wmake | |
make -f Makefile.uefi ARCH=x86_64 | |
make -f Makefile.gcc clean default CC=i686-linux-gnu-gcc CFLAGS=-I/usr/local/include LDFLAGS=-static | |
python3 pciids.py | |
- name: Build `usblgoff` | |
run: | | |
cd ${{ github.workspace }}/usblgoff | |
wmake | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: probing-tools-${{ github.sha }} | |
path: | | |
**/*.EXE | |
**/*.EFI | |
pcireg/pcireg | |
**/*.BIN | |
ac97/*.md | |
acpi/*.md | |
biosdump/*.md | |
isapnp/*.md | |
pcireg/*.md | |
usblgoff/*.md | |
newbasic: | |
name: NewBasic | |
runs-on: windows-latest | |
steps: | |
- name: Download NewBasic assembler | |
run: | | |
Invoke-WebRequest http://www.fysnet.net/zips/nbasm.zip -OutFile nbasm.zip | |
Expand-Archive nbasm.zip -DestinationPath "$env:LOCALAPPDATA/Programs" | |
echo "$env:LOCALAPPDATA/Programs" >> $env:GITHUB_PATH | |
- uses: actions/checkout@v4 | |
- name: Build `amikey` | |
run: | | |
cd ${{ github.workspace }}/amikey | |
./build.bat AMIKEY | |
./build.bat JETKEY | |
- name: Build `multikey` | |
run: | | |
cd ${{ github.workspace }}/multikey | |
./build.bat MULTIKEY | |
- name: Build `viakey` | |
run: | | |
cd ${{ github.workspace }}/viakey | |
./build.bat VIAKEY | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: probing-tools-${{ github.sha }} | |
path: | | |
**/*.COM | |
amikey/*.md | |
multikey/*.md | |
viakey/*.md |