Skip to content

status

status #207

Workflow file for this run

name: status
on:
schedule:
# ステータスの更新は毎日12:00(UTC)=21:00(JST)=05:00(シアトル)
- cron: 0 12 * * *
jobs:
pretest-macos13-x86_64-icu_build:
name: pretest-macos13-x86_64-icu_build
runs-on: macos-13
steps:
- name: Compiling ICU
run: |
curl https://github.com/unicode-org/icu/releases/download/release-74-2/icu4c-74_2-src.tgz -LfsS | tar xzv
cd icu/source
./runConfigureICU MacOSX --disable-samples --disable-tests --with-data-packaging=library
make -j4 && make install prefix=$(pwd)/install
cd install
tar zcvf ../../../icu-macos13-x86_64.tar.gz *
- name: Upload generated icu binaries
uses: actions/upload-artifact@v4
with:
name: icu-macos13-x86_64
path: icu-macos13-x86_64.tar.gz
pretest-linux-x86_64-icu_build:
name: pretest-linux-x86_64-icu_build
runs-on: ubuntu-20.04
steps:
- name: Compiling ICU
run: |
curl https://github.com/unicode-org/icu/releases/download/release-74-2/icu4c-74_2-src.tgz -LfsS | tar xzv
cd icu/source
./runConfigureICU Linux --disable-samples --disable-tests --with-data-packaging=library
make -j4 && make install prefix=$(pwd)/install
cd install
tar zcvf ../../../icu-linux-x86_64.tar.gz *
- name: Upload generated icu binaries
uses: actions/upload-artifact@v4
with:
name: icu-linux-x86_64
path: icu-linux-x86_64.tar.gz
pretest-linux-x86-icu_build:
name: pretest-linux-x86-icu_build
runs-on: ubuntu-latest
steps:
- name: Compiling ICU
run: |
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib
curl https://github.com/unicode-org/icu/releases/download/release-74-2/icu4c-74_2-src.tgz -LfsS | tar xzv
cd icu/source
./runConfigureICU Linux --disable-samples --disable-tests --with-data-packaging=library --with-library-bits=32
make -j4 && make install prefix=$(pwd)/install
cd install
tar zcvf ../../../icu-linux-x86.tar.gz *
- name: Upload generated icu binaries
uses: actions/upload-artifact@v4
with:
name: icu-linux-x86
path: icu-linux-x86.tar.gz
# 各テストのジョブは以下の表に従って作成しています。
# matrixを使って全て行うと大変なので、要所を搾って実施します。
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 1. Windows x86 dmd o x x x x
# 2. Windows x86 ldc x o o x x
# 3. Windows x86 dmd-master x x x x x
# 4. Windows x86 ldc-master x x x x x
# 5. Windows x86_64 dmd o o x x o
# 6. Windows x86_64 ldc o x o o x
# 7. Windows x86_64 dmd-master x x x x x
# 8. Windows x86_64 ldc-master o o o x x
# 9. Ubuntu x86 dmd x x x x x
# 10. Ubuntu x86 ldc o x o x x
# 11. Ubuntu x86 dmd-master x x x x x
# 12. Ubuntu x86 ldc-master x x x x x
# 13. Ubuntu x86_64 dmd o x o O x
# 14. Ubuntu x86_64 ldc o o x x o
# 15. Ubuntu x86_64 dmd-master o o o x x
# 16. Ubuntu x86_64 ldc-master x x x x x
# 17. macOS x86 dmd x x x x x
# 18. macOS x86 ldc x x x x x
# 19. macOS x86 dmd-master x x x x x
# 20. macOS x86 ldc-master x x x x x
# 21. macOS x86_64 dmd o o x x o
# 22. macOS x86_64 ldc o x o o x
# 23. macOS x86_64 dmd-master x x x x x
# 24. macOS x86_64 ldc-master x x x x x
# 各テストジョブは以下のテンプレを加工して作成します。
# 例は test-linux-x86_64-ldc-latest を参照してください。
# また upload-codecov はテストジョブが全てパスしてから
# 実行されるようにするため、テストジョブを追加する場合は
# upload-codecov の needs も忘れず追加してください。
# テンプレ:
#test-${OS}-${ARCH}-${COMPILER}:
# name: test-${OS}-${ARCH}-${COMPILER}
# runs-on: ${OS}
# steps:
# - uses: actions/checkout@v4
# with:
# ref: master
# - name: Install D compiler
# uses: dlang-community/setup-dlang@v2
# with:
# compiler: ${COMPILER}
# # UT:テストをする場合は以下を実行
# - name: Run unit tests
# run: rdmd ./scripts/runner.d -a=${ARCH} --mode=unit-test
# # TT:テストをする場合は以下を実行
# - name: Run unit tests
# run: rdmd ./scripts/runner.d -a=${ARCH} --mode=integration-test
# # BLD:ビルドをする場合は以下を実行
# - name: Build tests
# run: dub build -a=${ARCH} -b=release -c=default
# # DOC:ドキュメント生成をする場合は以下を実行
# - name: Generate document tests
# run: rdmd ./scripts/runner.d -a=${ARCH} --mode=generate-document
# # DOC:ドキュメントを記録する場合は以下を実行(Artifactに6か月保管されます)
# - name: Upload generated pages
# uses: actions/upload-artifact@v4
# with:
# name: docs
# path: docs
# # COV:カバレッジを記録する場合は以下を実行(Artifactに6か月保管されます)
# - name: Upload coverage result
# uses: actions/upload-artifact@v4
# with:
# name: coverage-${OS}
# path: .cov
# include-hidden-files: true
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 1. Windows x86 dmd o x x x x
test-windows-x86-dmd-latest:
name: test-windows-x86-dmd-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: dmd-latest
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86 --mode=unit-test --exdubopts=--build-mode=singleFile
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 2. Windows x86 ldc x o o x x
test-windows-x86-ldc-latest:
name: test-windows-x86-ldc-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ldc-latest
- name: Run integration tests
run: rdmd ./scripts/runner.d -a=x86 --mode=integration-test
- name: Build tests
run: dub build -a=x86 -b=release -c=default
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 3. Windows x86 dmd-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 4. Windows x86 ldc-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 5. Windows x86_64 dmd o o x x o
test-windows-x86_64-dmd-latest:
name: test-windows-x86_64-dmd-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: dmd-latest
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Run integration tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=integration-test
- name: Upload coverage result
uses: actions/upload-artifact@v4
with:
name: coverage-windows
path: .cov
include-hidden-files: true
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 6. Windows x86_64 ldc o x o o x
test-windows-x86_64-ldc-latest:
name: test-windows-x86_64-ldc-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ldc-latest
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Build tests
run: dub build -a=x86_64 -b=release -c=default
- name: Generate document tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=generate-document
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 7. Windows x86_64 dmd-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 8. Windows x86_64 ldc-master o o o x x
test-windows-x86_64-ldc-master:
name: test-windows-x86_64-ldc-master
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ldc-master
gh_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Run integration tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=integration-test
- name: Build tests
run: dub build -a=x86_64 -b=release -c=default
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 9. Ubuntu x86 dmd x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 10. Ubuntu x86 ldc o x o x x
test-linux-x86-ldc-latest:
name: test-linux-x86-ldc-latest
needs: [pretest-linux-x86-icu_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Download Prebuild binaries
uses: actions/download-artifact@v4
with:
name: icu-linux-x86
- name: Expand tarball
run: sudo tar xvzf icu-linux-x86.tar.gz -C /usr/local && sudo ldconfig /usr/local/lib
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ldc-latest
- name: Install gcc-multilib
run: |
sudo apt-get update
sudo apt-get -y install gcc-multilib g++-multilib
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86 --mode=unit-test
- name: Build tests
run: dub build -a=x86 -b=release -c=default
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 11. Ubuntu x86 dmd-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 12. Ubuntu x86 ldc-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 13. Ubuntu x86_64 dmd o x o O x
# 13.1. Ubuntu-20.04 x86_64 dmd o o o o x
# 13.2. ubuntu-24.04 x86_64 dmd o x o O x
test-ubuntu20-x86_64-dmd-latest:
name: test-ubuntu20-x86_64-dmd-latest
needs: [pretest-linux-x86_64-icu_build]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Download Prebuild binaries
uses: actions/download-artifact@v4
with:
name: icu-linux-x86_64
- name: Expand tarball
run: sudo tar xvzf icu-linux-x86_64.tar.gz -C /usr/local && sudo ldconfig /usr/local/lib
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: dmd-latest
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Run integration tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=integration-test
- name: Build tests
run: dub build -a=x86_64 -b=release -c=default
- name: Generate document tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=generate-document
test-linux-x86_64-dmd-latest:
name: test-linux-x86_64-dmd-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install ICU 74.2
run: sudo apt-get install -y libicu-dev=74.2-1ubuntu3.1
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: dmd-latest
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Build tests
run: dub build -a=x86_64 -b=release -c=default
- name: Generate document tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=generate-document
- name: Upload generated pages
uses: actions/upload-artifact@v4
with:
name: docs
path: docs
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 14. Ubuntu x86_64 ldc o o x x o
test-linux-x86_64-ldc-latest:
name: test-linux-x86_64-ldc-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Install ICU 74.2
run: sudo apt-get install -y libicu-dev=74.2-1ubuntu3.1
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ldc-latest
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Run integration tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=integration-test
- name: Upload coverage result
uses: actions/upload-artifact@v4
with:
name: coverage-linux
path: .cov
include-hidden-files: true
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 15. Ubuntu x86_64 dmd-master o o o x x
test-linux-x86_64-dmd-master:
name: test-linux-x86_64-dmd-master
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Install ICU 74.2
run: sudo apt-get install -y libicu-dev=74.2-1ubuntu3.1
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
#compiler: dmd-master ... change to beta tempolarily
compiler: dmd-beta
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Run integration tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=integration-test
- name: Build tests
run: dub build -a=x86_64 -b=release -c=default
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 16. Ubuntu x86_64 ldc-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 17. macOS x86 dmd x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 18. macOS x86 ldc x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 19. macOS x86 dmd-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 20. macOS x86 ldc-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 21. macOS x86_64 dmd o o x x o
test-macos13-x86_64-dmd-latest:
name: test-macos13-x86_64-dmd-latest
needs: [pretest-macos13-x86_64-icu_build]
runs-on: macos-13
env:
DYLD_LIBRARY_PATH: /usr/local/lib
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Download Prebuild binaries
uses: actions/download-artifact@v4
with:
name: icu-macos13-x86_64
- name: Expand tarball
run: sudo tar xvzf icu-macos13-x86_64.tar.gz -C /usr/local
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: dmd-latest
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Run integration tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=integration-test
- name: Upload coverage result
uses: actions/upload-artifact@v4
with:
name: coverage-macos13
path: .cov
include-hidden-files: true
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 22. macOS x86_64 ldc o x o o x
test-macos13-x86_64-ldc-latest:
name: test-macos13-x86_64-ldc-latest
needs: [pretest-macos13-x86_64-icu_build]
runs-on: macos-13
env:
DYLD_LIBRARY_PATH: /usr/local/lib
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Download Prebuild binaries
uses: actions/download-artifact@v4
with:
name: icu-macos13-x86_64
- name: Expand tarball
run: sudo tar xvzf icu-macos13-x86_64.tar.gz -C /usr/local
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ldc-latest
- name: Run unit tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=unit-test
- name: Build tests
run: dub build -a=x86_64 -b=release -c=default
- name: Generate document tests
run: rdmd ./scripts/runner.d -a=x86_64 --mode=generate-document
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 23. macOS x86_64 dmd-master x x x x x
# do-nothing
# No. OS ARCH COMPILER UT TT BLD DOC COV
# 24. macOS x86_64 ldc-master x x x x x
# do-nothing
# Deploy Pages
deproy-pages:
name: deploy-pages
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-ubuntu20-x86_64-dmd-latest
- test-linux-x86_64-dmd-latest
- test-linux-x86_64-ldc-latest
- test-linux-x86_64-dmd-master
- test-macos13-x86_64-dmd-latest
- test-macos13-x86_64-ldc-latest
runs-on: ubuntu-latest
steps:
- name: Download generated pages
uses: actions/download-artifact@v4
with:
name: docs
path: docs
- name: Deploy pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
allow_empty_commit: false
publish_dir: docs
publish_branch: gh-pages
user_name: GitHub Actions Bot
user_email: <>