Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
norbusan committed Jan 23, 2024
1 parent 75f2f76 commit 704990f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/scripts/build-tl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ then
. /opt/rh/devtoolset-9/enable
fi

echo "file /bin/ls"
file -L /bin/ls
cp -L /bin/ls texlive-bin-$arch.tar.gz
touch texlive-bin-$arch.tar.gz

if [ -n "$destdir" ] ; then
mv texlive-bin-$arch.tar.gz "$destdir"
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ jobs:
options: -v ${{ github.workspace }}:/work --platform linux/${{ matrix.platform }}
run: |
cd /work/repo
case "${{ matrix.image }}" in
i386/ubuntu:*) echo .github/scripts/install-deps.ubuntu.sh ;;
centos:*) echo .github/scripts/install-deps.centos.sh ;;
alpine:*) echo .github/scripts/install-deps.alpine.sh ;;
esac
.github/scripts/build-tl.sh ${{ matrix.tl_name }}
- name: find file step
if: ${{ matrix.ci_build || matrix.release_build }}
Expand Down Expand Up @@ -125,9 +120,15 @@ jobs:
matrix:
arch: [ i386, amd64 ]
os: [ freebsd, netbsd, solaris ]
ci_build: [ true ]
release_build:
- ${{ startsWith(github.ref, 'refs/tags/') }}
include:
- os: freebsd
ci_build: true
- os: netbsd
ci_build: false
- os: solaris
ci_build: false

steps:
- name: checkout-main
Expand All @@ -141,7 +142,6 @@ jobs:
usesh: true
run: |
cd repo
sh .github/scripts/install-deps.bsd.sh
sh .github/scripts/build-tl.sh ${{ matrix.arch }}-${{ matrix.os }}
- name: build netbsd
uses: vmactions/netbsd-vm@v1
Expand All @@ -150,7 +150,6 @@ jobs:
usesh: true
run: |
cd repo
sh .github/scripts/install-deps.bsd.sh
sh .github/scripts/build-tl.sh ${{ matrix.arch }}-${{ matrix.os }}
- name: build solaris
uses: vmactions/solaris-vm@v1
Expand All @@ -159,7 +158,6 @@ jobs:
usesh: true
run: |
cd repo
sh .github/scripts/install-deps.solaris.sh
sh .github/scripts/build-tl.sh ${{ matrix.arch }}-${{ matrix.os }}
- name: find file step
if: ${{ matrix.ci_build || matrix.release_build }}
Expand Down

0 comments on commit 704990f

Please sign in to comment.