Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shoo committed Nov 9, 2024
1 parent 6aaa645 commit d1e49d1
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 217 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# name: test-${OS}-${ARCH}-${COMPILER}
# runs-on: ${OS}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v4
# - name: Install D compiler
# uses: dlang-community/setup-dlang@v1
# with:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
name: test-windows-x86-dmd-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -96,7 +96,7 @@ jobs:
name: test-windows-x86-ldc-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -120,7 +120,7 @@ jobs:
name: test-windows-x86_64-dmd-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -142,7 +142,7 @@ jobs:
name: test-windows-x86_64-ldc-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -164,7 +164,7 @@ jobs:
name: test-windows-x86_64-ldc-master
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -187,15 +187,15 @@ jobs:
name: test-linux-x86-ldc-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-latest
- name: Install gcc-multilib
run: |
sudo apt update
sudo apt install gcc-multilib
sudo apt install -y gcc-multilib
- name: Run unit tests
run: rdmd ./.github/workflows/runner.d -a=x86 --mode=unit-test
- name: Build tests
Expand All @@ -215,7 +215,7 @@ jobs:
name: test-linux-x86_64-dmd-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -238,7 +238,7 @@ jobs:
name: test-linux-x86_64-ldc-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -260,7 +260,7 @@ jobs:
name: test-linux-x86_64-dmd-master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:
name: test-macos-x86_64-dmd-latest
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -322,7 +322,7 @@ jobs:
name: test-macos-x86_64-ldc-latest
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -348,7 +348,7 @@ jobs:
needs: [test-windows-x86-dmd-latest, test-windows-x86-ldc-latest, test-windows-x86_64-dmd-latest, test-windows-x86_64-ldc-latest, test-windows-x86_64-ldc-master, test-linux-x86-ldc-latest, test-linux-x86_64-dmd-latest, test-linux-x86_64-ldc-latest, test-linux-x86_64-dmd-master, test-macos-x86_64-dmd-latest, test-macos-x86_64-ldc-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Download coverage result
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -389,7 +389,6 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
allow_empty_commit: false

publish_dir: docs
publish_branch: gh-pages
user_name: GitHub Actions Bot
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# name: test-${OS}-${ARCH}-${COMPILER}
# runs-on: ${OS}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v4
# - name: Install D compiler
# uses: dlang-community/setup-dlang@v1
# with:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
name: test-windows-x86-dmd-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -103,7 +103,7 @@ jobs:
name: test-windows-x86-ldc-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
name: test-windows-x86_64-dmd-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -157,7 +157,7 @@ jobs:
name: test-windows-x86_64-ldc-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
name: test-windows-x86_64-ldc-master
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -213,15 +213,15 @@ jobs:
name: test-linux-x86-ldc-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-latest
- name: Install gcc-multilib
run: |
sudo apt update
sudo apt install gcc-multilib
sudo apt install -y gcc-multilib
- name: Run unit tests
run: rdmd ./.github/workflows/runner.d -a=x86 --mode=unit-test
- name: Build tests
Expand All @@ -244,7 +244,7 @@ jobs:
name: test-linux-x86_64-dmd-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -270,7 +270,7 @@ jobs:
name: test-linux-x86_64-ldc-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
name: test-linux-x86_64-dmd-master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
name: test-macos-x86_64-dmd-latest
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand All @@ -366,7 +366,7 @@ jobs:
name: test-macos-x86_64-ldc-latest
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:
needs: [test-windows-x86-dmd-latest, test-windows-x86-ldc-latest, test-windows-x86_64-dmd-latest, test-windows-x86_64-ldc-latest, test-windows-x86_64-ldc-master, test-linux-x86-ldc-latest, test-linux-x86_64-dmd-latest, test-linux-x86_64-ldc-latest, test-linux-x86_64-dmd-master, test-macos-x86_64-dmd-latest, test-macos-x86_64-ldc-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Download coverage result
uses: actions/download-artifact@v4
with:
Expand Down
Loading

0 comments on commit d1e49d1

Please sign in to comment.