diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4f2842..326dcda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,300 +19,305 @@ jobs: test: # make sure the action works on a clean machine without building timeout-minutes: 5 - name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} + # name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }} runs-on: ${{ matrix.os.host }} strategy: fail-fast: false matrix: - os: - - name: FreeBSD - version: '12.2' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - release: 12.2-RELEASE - - - name: FreeBSD - version: '12.2' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: amd64 - release: 12.2-RELEASE - - - name: FreeBSD - version: '12.4' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - release: 12.4-RELEASE - - - name: FreeBSD - version: '12.4' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: amd64 - release: 12.4-RELEASE - - - name: FreeBSD - version: '13.0' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - release: 13.0-RELEASE - - - name: FreeBSD - version: '13.0' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: amd64 - release: 13.0-RELEASE - - - name: FreeBSD - version: '13.1' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - release: 13.1-RELEASE - - - name: FreeBSD - version: '13.1' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: amd64 - release: 13.1-RELEASE - - - name: FreeBSD - version: '13.2' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - release: 13.2-RELEASE - - - name: FreeBSD - version: '13.2' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: amd64 - release: 13.2-RELEASE - - - name: FreeBSD - architecture: ARM64 - version: '12.4' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: arm64 - release: 12.4-RELEASE - - - name: FreeBSD - architecture: ARM64 - version: '13.0' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: arm64 - release: 13.0-RELEASE - - - name: FreeBSD - architecture: ARM64 - version: '13.1' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: arm64 - release: 13.1-RELEASE - - - name: FreeBSD - architecture: ARM64 - version: '13.2' - host: ubuntu-latest - # /home is symlinked to /usr/home. pwd will return the resolved path. - workDirectory: /usr/home/runner/work/action/action - uname: - hardware: arm64 - release: 13.2-RELEASE - - - name: OpenBSD - version: '6.8' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '6.8' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '6.9' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '6.9' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '7.1' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '7.1' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '7.2' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '7.3' - host: macos-12 - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '7.2' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - version: '7.3' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: amd64 - - - name: OpenBSD - architecture: ARM64 - version: '6.9' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: arm64 - - - name: OpenBSD - architecture: ARM64 - version: '7.1' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: arm64 - - - name: OpenBSD - architecture: ARM64 - version: '7.2' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: arm64 - - - name: OpenBSD - architecture: ARM64 - version: '7.3' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: arm64 - - - name: NetBSD - version: '9.2' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: amd64 - - - name: NetBSD - version: '9.2' - host: macos-latest - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - - - name: NetBSD - version: '9.3' - host: ubuntu-latest - workDirectory: /home/runner/work/action/action - uname: - hardware: amd64 - - - name: NetBSD - version: '9.3' - host: macos-latest - workDirectory: /Users/runner/work/action/action - uname: - hardware: amd64 - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - persist-credentials: false - - # - name: Setup tmate session - # uses: mxschmitt/action-tmate@v3 - - # - name: Setup SSH session - # uses: lhotari/action-upterm@v1 - - - name: ${{ matrix.os.name }} - uses: ./ - env: - FOO: A - BAR: B - with: - environment_variables: FOO BAR - operating_system: ${{ matrix.os.name }} - architecture: ${{ matrix.os.architecture }} - version: '${{ matrix.os.version }}' - run: | - uname -a - echo $SHELL - pwd - ls -lah - whoami - env | sort - [ "`uname -s`" = '${{ matrix.os.name }}' ] - [ "`uname -r`" = '${{ matrix.os.uname.release || matrix.os.version }}' ] - [ "`uname -m`" = '${{ matrix.os.uname.hardware }}' ] - [ "`pwd`" = '${{ matrix.os.workDirectory }}' ] + - freebsd: + - '13.2' + - '12.4' + steps: + - run: echo 'asd' + # os: + # - name: FreeBSD + # version: '12.2' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # release: 12.2-RELEASE + # + # - name: FreeBSD + # version: '12.2' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: amd64 + # release: 12.2-RELEASE + # + # - name: FreeBSD + # version: '12.4' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # release: 12.4-RELEASE + # + # - name: FreeBSD + # version: '12.4' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: amd64 + # release: 12.4-RELEASE + # + # - name: FreeBSD + # version: '13.0' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # release: 13.0-RELEASE + # + # - name: FreeBSD + # version: '13.0' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: amd64 + # release: 13.0-RELEASE + # + # - name: FreeBSD + # version: '13.1' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # release: 13.1-RELEASE + # + # - name: FreeBSD + # version: '13.1' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: amd64 + # release: 13.1-RELEASE + # + # - name: FreeBSD + # version: '13.2' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # release: 13.2-RELEASE + # + # - name: FreeBSD + # version: '13.2' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: amd64 + # release: 13.2-RELEASE + # + # - name: FreeBSD + # architecture: ARM64 + # version: '12.4' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: arm64 + # release: 12.4-RELEASE + # + # - name: FreeBSD + # architecture: ARM64 + # version: '13.0' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: arm64 + # release: 13.0-RELEASE + # + # - name: FreeBSD + # architecture: ARM64 + # version: '13.1' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: arm64 + # release: 13.1-RELEASE + # + # - name: FreeBSD + # architecture: ARM64 + # version: '13.2' + # host: ubuntu-latest + # # /home is symlinked to /usr/home. pwd will return the resolved path. + # workDirectory: /usr/home/runner/work/action/action + # uname: + # hardware: arm64 + # release: 13.2-RELEASE + # + # - name: OpenBSD + # version: '6.8' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '6.8' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '6.9' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '6.9' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '7.1' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '7.1' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '7.2' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '7.3' + # host: macos-12 + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '7.2' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # version: '7.3' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: OpenBSD + # architecture: ARM64 + # version: '6.9' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: arm64 + # + # - name: OpenBSD + # architecture: ARM64 + # version: '7.1' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: arm64 + # + # - name: OpenBSD + # architecture: ARM64 + # version: '7.2' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: arm64 + # + # - name: OpenBSD + # architecture: ARM64 + # version: '7.3' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: arm64 + # + # - name: NetBSD + # version: '9.2' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: NetBSD + # version: '9.2' + # host: macos-latest + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: NetBSD + # version: '9.3' + # host: ubuntu-latest + # workDirectory: /home/runner/work/action/action + # uname: + # hardware: amd64 + # + # - name: NetBSD + # version: '9.3' + # host: macos-latest + # workDirectory: /Users/runner/work/action/action + # uname: + # hardware: amd64 + # + # steps: + # - name: Checkout + # uses: actions/checkout@v3 + # with: + # persist-credentials: false + # + # # - name: Setup tmate session + # # uses: mxschmitt/action-tmate@v3 + # + # # - name: Setup SSH session + # # uses: lhotari/action-upterm@v1 + # + # - name: ${{ matrix.os.name }} + # uses: ./ + # env: + # FOO: A + # BAR: B + # with: + # environment_variables: FOO BAR + # operating_system: ${{ matrix.os.name }} + # architecture: ${{ matrix.os.architecture }} + # version: '${{ matrix.os.version }}' + # run: | + # uname -a + # echo $SHELL + # pwd + # ls -lah + # whoami + # env | sort + # [ "`uname -s`" = '${{ matrix.os.name }}' ] + # [ "`uname -r`" = '${{ matrix.os.uname.release || matrix.os.version }}' ] + # [ "`uname -m`" = '${{ matrix.os.uname.hardware }}' ] + # [ "`pwd`" = '${{ matrix.os.workDirectory }}' ] test-no-env: timeout-minutes: 5