mirror of
https://github.com/86Box/probing-tools.git
synced 2026-02-24 20:35:34 -07:00
77
.github/workflows/build.yml
vendored
Normal file
77
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
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
|
||||
- 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/Current-build/ow-snapshot.tar.gz | tar -xvz -C /opt/watcom
|
||||
echo "/opt/watcom/binl64:/opt/watcom/binl" >> $GITHUB_PATH
|
||||
- uses: actions/checkout@v2
|
||||
- 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 `pcireg`
|
||||
run: |
|
||||
cd ${{ github.workspace }}/pcireg
|
||||
wmake
|
||||
make -f Makefile.uefi ARCH=x86_64
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: |
|
||||
**/*.EXE
|
||||
**/*.EFI
|
||||
|
||||
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@v2
|
||||
- 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@v2
|
||||
with:
|
||||
path: "**/*.COM"
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -19,3 +19,8 @@ cp437/cp437.exe
|
||||
# UEFI
|
||||
NvVars
|
||||
pci?????.bin
|
||||
|
||||
# Binaries
|
||||
*.exe
|
||||
*.com
|
||||
*.efi
|
||||
BIN
ac97/AC97.EXE
BIN
ac97/AC97.EXE
Binary file not shown.
BIN
acpi/ACPI.EXE
BIN
acpi/ACPI.EXE
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -56,10 +56,10 @@ CFLAGS = -bt=$(SYSTEM) $(CFLAGS)
|
||||
.c.obj
|
||||
!if "$(CP437_CONV)" == "y"
|
||||
..$(SLASH)cp437$(SLASH)$(CP437) $<
|
||||
$(CC) $(CFLAGS) $<_cp437
|
||||
$(CC) $(CFLAGS) $<_cp437 -fo=$*.obj
|
||||
@$(DEL) $<_cp437
|
||||
!else
|
||||
$(CC) $(CFLAGS) $<
|
||||
$(CC) $(CFLAGS) $< -fo=$*.obj
|
||||
!endif
|
||||
|
||||
# Default target, which must be the first!
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user