diff options
-rw-r--r-- | .github/workflows/doc.yml | 10 | ||||
-rw-r--r-- | .github/workflows/push.yml | 42 |
2 files changed, 37 insertions, 15 deletions
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 6607523b5..5cd33e03b 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -6,9 +6,11 @@ on: jobs: linux: runs-on: ubuntu-latest + name: '馃摀 Docs' steps: - - uses: actions/checkout@v2 + - name: '馃О Checkout' + uses: actions/checkout@v2 - name: Build ghdl/doc run: | @@ -32,11 +34,13 @@ jobs: chmod +x run.sh docker run --rm -v $(pwd):/src -w /src ghdl/doc ./run.sh - - uses: buildthedocs/btd@v0 + - name: '馃摀 BuildTheDocs (BTD)' + uses: buildthedocs/btd@v0 with: token: ${{ github.token }} - - uses: actions/upload-artifact@v2 + - name: '馃摛 Upload artifact: HTML and LaTeX' + uses: actions/upload-artifact@v2 with: name: doc path: | diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 691cb2e3c..179b833e0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -15,11 +15,14 @@ jobs: fmt: runs-on: ubuntu-latest + name: '馃悕 Format (black)' steps: - - uses: actions/checkout@v2 + - name: '馃О Checkout' + uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - name: '馃悕 Setup Python' + uses: actions/setup-python@v2 with: python-version: 3.8 @@ -33,9 +36,11 @@ jobs: gpl: runs-on: ubuntu-latest + name: '馃惂 GPL 路 mcode' steps: - - uses: actions/checkout@v2 + - name: '馃О Checkout' + uses: actions/checkout@v2 - run: TASK=buster+mcode ./dist/ci-run.sh -c --gpl --no-synth @@ -56,17 +61,20 @@ jobs: { os: 18, backend: gcc-8.3.0 }, { os: 20, backend: gcc-9.3.0 } ] + name: '馃惂 Ubuntu ${{ matrix.os }} 路 ${{ matrix.backend }}' runs-on: ubuntu-${{ matrix.os }}.04 steps: - - uses: actions/checkout@v2 + - name: '馃О Checkout' + uses: actions/checkout@v2 - name: Build and test GHDL in containers run: | TASK=ubuntu${{ matrix.os }}+${{ matrix.backend }} ./dist/ci-run.sh -c mv ghdl-*-ubuntu${{ matrix.os }}-*.tgz ghdl-gha-ubuntu-${{ matrix.os }}.04-$(echo ${{ matrix.backend }} | sed 's#-.*##g').tgz - - uses: actions/upload-artifact@v2 + - name: '馃摛 Upload artifact: package' + uses: actions/upload-artifact@v2 with: path: ghdl-gha-ubuntu-*.tgz @@ -76,11 +84,14 @@ jobs: osx: runs-on: macOS-latest + name: '馃崕 macOS 路 mcode' steps: - - uses: actions/checkout@v2 + - name: '馃О Checkout' + uses: actions/checkout@v2 - - run: | + - name: '鈿欙笍 Dependencies (brew)' + run: | brew update || true brew install p7zip ./dist/macosx/install-ada.sh @@ -109,6 +120,7 @@ jobs: #{installs: "MINGW64", pkg: "mcode"}, ! mcode is not yet supported on win64 {installs: "MINGW64", pkg: "llvm"}, ] + name: '馃煪 MSYS2 路 ${{ matrix.installs }} 路 ${{ matrix.pkg }}' env: MINGW_INSTALLS: ${{ matrix.installs }} TARGET: ${{ matrix.pkg }} @@ -117,7 +129,8 @@ jobs: shell: msys2 {0} steps: - - uses: msys2/setup-msys2@v2 + - name: '馃煪 Setup MSYS2' + uses: msys2/setup-msys2@v2 with: msystem: MSYS update: true @@ -126,19 +139,22 @@ jobs: - run: git config --global core.autocrlf input shell: bash - - uses: actions/checkout@v2 + - name: '馃О Checkout' + uses: actions/checkout@v2 - name: Build and (hopefully) install package run: ./dist/msys2-mingw/run.sh -b - - uses: actions/upload-artifact@v2 + - name: '馃摛 Upload artifact: builddir' + uses: actions/upload-artifact@v2 with: name: ${{ matrix.installs }}-${{ matrix.pkg }}-builddir path: | ./dist/msys2-mingw/${{ matrix.pkg }}/src/ ./dist/msys2-mingw/${{ matrix.pkg }}/pkg/ - - uses: actions/upload-artifact@v2 + - name: '馃摛 Upload artifact: package' + uses: actions/upload-artifact@v2 with: path: ./dist/msys2-mingw/${{ matrix.pkg }}/mingw-*ghdl*.pkg.tar.zst @@ -158,9 +174,11 @@ jobs: if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' needs: [ lin, win ] runs-on: ubuntu-latest + name: '馃摝 Nightly' steps: - - uses: actions/download-artifact@v2 + - name: '馃摜 Download artifacts' + uses: actions/download-artifact@v2 - uses: eine/tip@master with: |