diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index c7cca6e..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,384 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -# https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/workflows/main.yaml -# https://github.com/josephwright/siunitx/blob/main/.github/workflows/main.yaml - -name: Automatic Checks for nfssext/main - -# Controls when the workflow will run -on: - # Triggers the workflow on push or pull request events but only for the "main" branch - push: - branches: - - "main" - pull_request: - branches: - - "main" - # - "*" - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - l3build-ctan-clm: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - # nfssext-cfr uses cfr-lm (though it falls back if built first) - # cfr-lm uses nfssext-cfr but there's nothing to build - - name: Run l3build for clm - run: (cd cfr-lm ; cp -r $(kpsewhich -var-value TEXMFDIST)/fonts/afm/public/lm afm && mkdir -p tfm && cp $(kpsewhich -var-value TEXMFDIST)/fonts/tfm/public/lm/ec-* tfm/ && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for clm - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-clm - # Decide how long to keep the test output artefact: - # retention-days: 3 - - - l3build-ctan-nfssext-cfr: - if: ${{ always() }} - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for support packages - run: (cd nfssext-cfr && l3build ctan) - - name: Archive failed test output for support packages - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-cfr - # Decide how long to keep the test output artefact: - # retention-days: 3 - - - l3build-ctan-fontscripts: - if: ${{ always() }} - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for fontscripts - run: (cd fontscripts && l3build ctan) - - name: Archive failed test output for fontscripts packages - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-fontscripts - # Decide how long to keep the test output artefact: - # retention-days: 3 - - l3build-ctan-adforn: - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for adforn - run: (cd arkandis/adforn && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for adforn - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-adforn - # Decide how long to keep the test output artefact: - # retention-days: 3 - - l3build-ctan-adfsymbols: - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for adfsymbols - run: (cd arkandis/adfsymbols && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for adfsymbols - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-adfsymbols - # Decide how long to keep the test output artefact: - # retention-days: 3 - - l3build-ctan-baskervaldadf: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for baskervaldadf - run: (cd arkandis/baskervaldadf && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for baskervaldadf - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-baskervaldadf - # Decide how long to keep the test output artefact: - # retention-days: 3 - - l3build-ctan-berenisadf: - # no idea why - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript make fontforge - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for berenisadf - run: (cd arkandis/berenisadf && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for berenisadf - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-berenisadf - # Decide how long to keep the test output artefact: - # retention-days: 3 - - l3build-ctan-electrumadf: - # no idea why - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for electrumadf - run: (cd arkandis/electrumadf && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for electrumadf - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-electrumadf - # Decide how long to keep the test output artefact: - # retention-days: 3 - - l3build-ctan-librisadf: - # no idea why - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for librisadf - run: (cd arkandis/librisadf && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for librisadf - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-librisadf - # Decide how long to keep the test output artefact: - # retention-days: 3 - - l3build-ctan-romandeadf: - # no idea why - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for romandeadf - run: (cd arkandis/romandeadf && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for romandeadf - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-romandeadf - # Decide how long to keep the test output artefact: - # retention-days: 3 - - l3build-ctan-venturisadf: - # no idea why - needs: l3build-ctan-clm - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml - # We need Ghostscript for XeTeX tests. - - run: sudo apt-get update && sudo apt-get install ghostscript - - name: Install TeX Live - uses: zauguin/install-texlive@v3 - with: - # List the required TeX Live packages in a separate file to allow reuse in - # different workflows. - package_file: .github/tl_packages - - name: Remove environmental restrictions - run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") - - name: Run l3build for venturisadf - run: (cd arkandis/venturisadf && l3build fnttarg && l3build doc && l3build ctan) - - name: Archive failed test output for venturisadf - # run even if previous step failed - if: ${{ always() }} - uses: zauguin/l3build-failure-artifacts@v1 - with: - name: testfiles-nfssext-venturisadf - # Decide how long to keep the test output artefact: - # retention-days: 3 - diff --git a/.github/workflows/devel.yml b/.github/workflows/nfssext-autochecks.yml similarity index 99% rename from .github/workflows/devel.yml rename to .github/workflows/nfssext-autochecks.yml index 70b7faa..f1690dd 100644 --- a/.github/workflows/devel.yml +++ b/.github/workflows/nfssext-autochecks.yml @@ -3,18 +3,17 @@ # https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/workflows/main.yaml # https://github.com/josephwright/siunitx/blob/main/.github/workflows/main.yaml -name: Automatic Checks for nfssext/devel +name: Automatic Checks for nfssext # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the "main" branch push: branches: - - "devel" + - "*" pull_request: branches: - - "devel" - # - "*" + - "*" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: