Skip to content

Commit

Permalink
DELETEME comment out noncritical
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Jun 11, 2024
1 parent d43a30d commit a206252
Showing 1 changed file with 141 additions and 141 deletions.
282 changes: 141 additions & 141 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,144 +102,144 @@ jobs:
name: 'fvcbm-windows.exe'
path: fvcbm.exe

alpine-3_20-x86:
name: 'Alpine 3.20 with MUSL'
runs-on: ubuntu-latest
container: 'alpine:3.20'
steps:
- uses: actions/checkout@v4
- name: 'Install deps'
run: >
cat /etc/os-release &&
apk add --no-cache
build-base
groff
- name: 'Compile with gcc with MUSL'
run: make linux
- name: 'Run tests with gcc with MUSL'
run: make test
- name: 'Install i386 chroot'
run: |
OSVER="$(sed -nE '/^VERSION_ID=/s/^.*=([0-9]+\.[0-9]+).*$/\1/p' /etc/os-release)"
apk -p i386root -X https://dl-cdn.alpinelinux.org/alpine/v${OSVER}/main -U --allow-untrusted --initdb --arch x86 add alpine-baselayout build-base groff
make clean
cp -a . i386root/root/fvcbm/ || true Ignore recursive copy error
- name: 'Compile with gcc with MUSL on i386'
run: chroot i386root make -C /root/fvcbm linux LINUX_CC=gcc CFLAGS='-static -m32 -O2'
- name: 'Run tests with gcc with MUSL on i386'
run: chroot i386root make -C /root/fvcbm test
- name: 'Strip binary'
run: strip i386root/root/fvcbm/fvcbm
- uses: actions/upload-artifact@v4
with:
name: 'fvcbm-linux-x86'
path: i386root/root/fvcbm/fvcbm

alpine-3_20-armv7:
name: 'Alpine 3.20 with MUSL on armv7'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/arm
- name: 'Perform install, build, test'
run: >
docker run --rm -v "$(pwd):/${{ github.workspace }}" -w ${{ github.workspace }} --platform linux/arm alpine:3.20 sh -c '
cat /etc/os-release &&
apk add --no-cache build-base groff &&
make linux CFLAGS="-static -O2" &&
make test &&
strip fvcbm
'
- uses: actions/upload-artifact@v4
with:
name: 'fvcbm-linux-arm'
path: fvcbm

osx-12-x86_64:
name: 'macOS 12 on x86_64'
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- name: 'Compile with gcc on x86_64'
run: make linux
- name: 'Run tests with gcc on x86_64'
run: make test
- name: 'Compile fat binary with gcc on x86_64'
run: make clean && make linux LINUX_CC=cc LINUX_CFLAGS='-O2 -DUNIX -arch arm64 -arch x86_64'
- name: 'Run tests with fat binary with gcc on x86_64'
run: make test
- name: 'Strip binary'
run: strip fvcbm
- uses: actions/upload-artifact@v4
with:
name: 'fvcbm-macos'
path: fvcbm

osx-14-aarch64:
name: 'macOS 14 on aarch64'
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: 'Compile with gcc on aarch64'
# nroff is not available, so skip the man build
run: touch fvcbm.man && make linux
- name: 'Run tests with gcc on aarch64'
run: make test
- name: 'Compile fat binary with gcc on aarch64'
# nroff is not available, so skip the man build
run: make clean && touch fvcbm.man && make linux LINUX_CC=cc LINUX_CFLAGS='-O2 -DUNIX -arch arm64 -arch x86_64'
- name: 'Run tests with fat binary with gcc on aarch64'
run: make test

freebsd-13:
name: 'FreeBSD 13.3 on x86_64'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'build & test on FreeBSD'
uses: cross-platform-actions/[email protected]
with:
operating_system: "freebsd"
version: "13.3"
architecture: "x86_64"
run: |
# heirloom-tools has the original nroff, but it isn't working with -man
sudo pkg update -f && sudo pkg install -y groff
make linux LINUX_CC=cc
make test
freebsd-14:
name: 'FreeBSD 14.0 on x86_64'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'build & test on FreeBSD'
uses: cross-platform-actions/[email protected]
with:
operating_system: "freebsd"
version: "14.0"
architecture: "x86_64"
run: |
# heirloom-tools has the original nroff, but it isn't working with -man
sudo pkg update -f && sudo pkg install -y groff
make linux LINUX_CC=cc
make test
z88dk:
name: 'z88dk SDK'
runs-on: ubuntu-latest
container: 'z88dk/z88dk:2.3'
steps:
- uses: actions/checkout@v4
- name: 'Show version'
run: zcc 2>&1 | head -1
- name: 'Compile with z88dk for CP/M'
# nroff is not available, so skip the man build
run: touch fvcbm.man && make cpm
- uses: actions/upload-artifact@v4
with:
name: 'fvcbm.com'
path: fvcbm
# alpine-3_20-x86:
# name: 'Alpine 3.20 with MUSL'
# runs-on: ubuntu-latest
# container: 'alpine:3.20'
# steps:
# - uses: actions/checkout@v4
# - name: 'Install deps'
# run: >
# cat /etc/os-release &&
# apk add --no-cache
# build-base
# groff
# - name: 'Compile with gcc with MUSL'
# run: make linux
# - name: 'Run tests with gcc with MUSL'
# run: make test
# - name: 'Install i386 chroot'
# run: |
# OSVER="$(sed -nE '/^VERSION_ID=/s/^.*=([0-9]+\.[0-9]+).*$/\1/p' /etc/os-release)"
# apk -p i386root -X https://dl-cdn.alpinelinux.org/alpine/v${OSVER}/main -U --allow-untrusted --initdb --arch x86 add alpine-baselayout build-base groff
# make clean
# cp -a . i386root/root/fvcbm/ || true Ignore recursive copy error
# - name: 'Compile with gcc with MUSL on i386'
# run: chroot i386root make -C /root/fvcbm linux LINUX_CC=gcc CFLAGS='-static -m32 -O2'
# - name: 'Run tests with gcc with MUSL on i386'
# run: chroot i386root make -C /root/fvcbm test
# - name: 'Strip binary'
# run: strip i386root/root/fvcbm/fvcbm
# - uses: actions/upload-artifact@v4
# with:
# name: 'fvcbm-linux-x86'
# path: i386root/root/fvcbm/fvcbm
#
# alpine-3_20-armv7:
# name: 'Alpine 3.20 with MUSL on armv7'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# with:
# platforms: linux/arm
# - name: 'Perform install, build, test'
# run: >
# docker run --rm -v "$(pwd):/${{ github.workspace }}" -w ${{ github.workspace }} --platform linux/arm alpine:3.20 sh -c '
# cat /etc/os-release &&
# apk add --no-cache build-base groff &&
# make linux CFLAGS="-static -O2" &&
# make test &&
# strip fvcbm
# '
# - uses: actions/upload-artifact@v4
# with:
# name: 'fvcbm-linux-arm'
# path: fvcbm
#
# osx-12-x86_64:
# name: 'macOS 12 on x86_64'
# runs-on: macos-12
# steps:
# - uses: actions/checkout@v4
# - name: 'Compile with gcc on x86_64'
# run: make linux
# - name: 'Run tests with gcc on x86_64'
# run: make test
# - name: 'Compile fat binary with gcc on x86_64'
# run: make clean && make linux LINUX_CC=cc LINUX_CFLAGS='-O2 -DUNIX -arch arm64 -arch x86_64'
# - name: 'Run tests with fat binary with gcc on x86_64'
# run: make test
# - name: 'Strip binary'
# run: strip fvcbm
# - uses: actions/upload-artifact@v4
# with:
# name: 'fvcbm-macos'
# path: fvcbm
#
# osx-14-aarch64:
# name: 'macOS 14 on aarch64'
# runs-on: macos-14
# steps:
# - uses: actions/checkout@v4
# - name: 'Compile with gcc on aarch64'
# # nroff is not available, so skip the man build
# run: touch fvcbm.man && make linux
# - name: 'Run tests with gcc on aarch64'
# run: make test
# - name: 'Compile fat binary with gcc on aarch64'
# # nroff is not available, so skip the man build
# run: make clean && touch fvcbm.man && make linux LINUX_CC=cc LINUX_CFLAGS='-O2 -DUNIX -arch arm64 -arch x86_64'
# - name: 'Run tests with fat binary with gcc on aarch64'
# run: make test
#
# freebsd-13:
# name: 'FreeBSD 13.3 on x86_64'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: 'build & test on FreeBSD'
# uses: cross-platform-actions/[email protected]
# with:
# operating_system: "freebsd"
# version: "13.3"
# architecture: "x86_64"
# run: |
# # heirloom-tools has the original nroff, but it isn't working with -man
# sudo pkg update -f && sudo pkg install -y groff
# make linux LINUX_CC=cc
# make test
#
# freebsd-14:
# name: 'FreeBSD 14.0 on x86_64'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: 'build & test on FreeBSD'
# uses: cross-platform-actions/[email protected]
# with:
# operating_system: "freebsd"
# version: "14.0"
# architecture: "x86_64"
# run: |
# # heirloom-tools has the original nroff, but it isn't working with -man
# sudo pkg update -f && sudo pkg install -y groff
# make linux LINUX_CC=cc
# make test
#
# z88dk:
# name: 'z88dk SDK'
# runs-on: ubuntu-latest
# container: 'z88dk/z88dk:2.3'
# steps:
# - uses: actions/checkout@v4
# - name: 'Show version'
# run: zcc 2>&1 | head -1
# - name: 'Compile with z88dk for CP/M'
# # nroff is not available, so skip the man build
# run: touch fvcbm.man && make cpm
# - uses: actions/upload-artifact@v4
# with:
# name: 'fvcbm.com'
# path: fvcbm

0 comments on commit a206252

Please sign in to comment.