Skip to content

Commit

Permalink
Work on check-linux-gnu-centos, check-linux-alpine, check-macos, chec…
Browse files Browse the repository at this point in the history
…k-*bsd, check-solaris11*, check-cygwin, check-mingw, check-msvc.
  • Loading branch information
bhaible committed May 15, 2024
1 parent eb4f2fe commit 673651c
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/many-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
pwd
: "Install CentOS Linux packages"
: "List of packages: http://mirror.centos.org/centos/7/os/x86_64/Packages/"
yum -y install m4 make gcc
yum -y install m4 automake make gcc gcc-c++ gcc-gfortran
cd /work
ls -l
export CPPFLAGS="-Wall"
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
pwd
: "Install Alpine Linux packages"
: "List of packages: https://pkgs.alpinelinux.org/packages"
apk add m4 make gcc musl-dev
apk add m4 automake make gcc musl-dev g++ gfortran
cd /work
ls -l
export CPPFLAGS="-Wall"
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
- run: pwd
# Install Homebrew packages.
# List of packages: https://formulae.brew.sh/
- run: brew install gcc
- run: brew install m4 automake gfortran
- run: |
pwd
export CPPFLAGS="-Wall"
Expand Down Expand Up @@ -277,7 +277,7 @@ jobs:
pwd
: "Install FreeBSD packages"
: "List of packages: https://ports.freebsd.org/cgi/ports.cgi"
pkg install -y m4
pkg install -y m4 automake gcc
ls -l
export CPPFLAGS="-I/usr/local/include -Wall"
export LDFLAGS="-L/usr/local/lib"
Expand Down Expand Up @@ -323,10 +323,10 @@ jobs:
pwd
: "Install NetBSD packages"
: "List of packages: https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/index-all.html"
pkg_add m4
: pkg_add m4
: "or"
: pkg_add pkgin
: pkgin install ...
pkgin install m4
ls -l
export CPPFLAGS="-I/usr/pkg/include -Wall"
export LDFLAGS="-L/usr/pkg/lib"
Expand Down Expand Up @@ -373,11 +373,11 @@ jobs:
pwd
: "Install OpenBSD packages"
: "List of packages: https://cdn.openbsd.org/pub/OpenBSD/7.5/packages/amd64/"
pkg_add m4
pkg_add m4 gmake
ls -l
export CPPFLAGS="-I/usr/local/include -Wall"
export LDFLAGS="-L/usr/local/lib"
./build-on.sh '${{ env.package }}' '' 'make'
./build-on.sh '${{ env.package }}' '' 'gmake'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
Expand Down Expand Up @@ -424,6 +424,7 @@ jobs:
ls -l
export CPPFLAGS="-Wall"
export CC="gcc -m64"
export CXX="g++ -m64"
./build-on.sh '${{ env.package }}' '' 'make'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
Expand Down Expand Up @@ -461,6 +462,7 @@ jobs:
: "Install Solaris packages"
: "List of packages: https://pkg.omnios.org/r151048/core/en/index.shtml"
pkg install \
developer/build/automake \
developer/gcc13 developer/object-file system/header system/library/math \
developer/build/gnu-make
run: |
Expand Down Expand Up @@ -515,7 +517,7 @@ jobs:
platform: ${{ matrix.bitness == 32 && 'x86' || 'x86_64' }}
# Install Cygwin packages.
# List of packages: https://cygwin.com/packages/package_list.html
packages: m4 gcc-core make
packages: m4 automake gcc-core make
- name: cygcheck
run: cygcheck -V
- name: cygcheck
Expand Down Expand Up @@ -579,7 +581,7 @@ jobs:
platform: x86_64
# Install Cygwin packages.
# List of packages: https://cygwin.com/packages/package_list.html
packages: m4 ${{ matrix.bitness == 32 && 'mingw64-i686-gcc-core mingw64-i686-headers mingw64-i686-runtime' || 'mingw64-x86_64-gcc-core mingw64-x86_64-headers mingw64-x86_64-runtime' }} make
packages: m4 automake ${{ matrix.bitness == 32 && 'mingw64-i686-gcc-core mingw64-i686-headers mingw64-i686-runtime' || 'mingw64-x86_64-gcc-core mingw64-x86_64-headers mingw64-x86_64-runtime' }} make
- name: cygcheck
run: cygcheck -V
- name: cygcheck
Expand Down Expand Up @@ -650,7 +652,7 @@ jobs:
platform: x86_64
# Install Cygwin packages.
# List of packages: https://cygwin.com/packages/package_list.html
packages: wget m4 make
packages: wget m4 automake make
- name: cygcheck
run: cygcheck -V
- name: cygcheck
Expand Down

0 comments on commit 673651c

Please sign in to comment.