Skip to content

Commit

Permalink
TO-DROP: reduce to minimal reproducer
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Sep 13, 2024
1 parent 3a1491c commit dcdd662
Showing 1 changed file with 5 additions and 32 deletions.
37 changes: 5 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,14 @@ name: CI

on: [push, pull_request]

env:
DEVELOPER: 1

# If more than one workflow run is triggered for the very same commit hash
# (which happens when multiple branches pointing to the same commit), only
# the first one is allowed to run, the second will be kept in the "queued"
# state. This allows a successful completion of the first run to be reused
# in the second run via the `skip-if-redundant` logic in the `config` job.
#
# The only caveat is that if a workflow run is triggered for the same commit
# hash that another run is already being held, that latter run will be
# canceled. For more details about the `concurrency` attribute, see:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.sha }}

jobs:
dockerized:
name: ${{matrix.vector.jobname}} (${{matrix.vector.image}})
concurrency:
group: dockerized-${{ matrix.vector.jobname }}-${{ matrix.vector.image }}-${{ github.ref }}
strategy:
fail-fast: false
matrix:
vector:
- jobname: linux32
image: i386/ubuntu:focal
distro: ubuntu32-20.04
env:
jobname: ${{matrix.vector.jobname}}
distro: ${{matrix.vector.distro}}
demo:
name: demonstrate need for "deprecated" actions/upload-artifact in i386 containers
runs-on: ubuntu-latest
container: ${{matrix.vector.image}}
container: i386/ubuntu:focal
steps:
- name: Upload failed tests' directories
- name: Upload fails
# shows 'exec /__e/node20/bin/node: no such file or directory'
uses: actions/upload-artifact@v4
with:
name: some-artifact
Expand Down

0 comments on commit dcdd662

Please sign in to comment.