Skip to content

Commit

Permalink
Try running Julia tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Sep 25, 2024
1 parent bc0a9a8 commit aa05695
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/build-and-test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,63 @@ jobs:
name: julia-assert-${{ inputs.target }}-${{ inputs.LLVM_VERSION }}
path: ${{ github.workspace }}/julia/*.tar.gz
if-no-files-found: warn
test_julia_assert_windows:
if: inputs.target == 'x86_64-w64-mingw32-cxx11' || inputs.target == 'i686-w64-mingw32-cxx11'
runs-on: windows-latest
needs: build_julia_assert_windows
timeout-minutes: 120
env:
LLVM_VERSION_MAJOR: ${{ inputs.LLVM_VERSION_MAJOR }}
steps:
- name: Download a single artifact
uses: actions/download-artifact@v4
with:
name: julia-assert-${{ inputs.target }}-${{ inputs.LLVM_VERSION }}
- name: "Test Julia Assert"
shell: bash
run: |
set -o xtrace
tar xzf *.tar.gz .
julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'
export JULIA_TEST_MAXRSS_MB=3800
julia -e "Base.runtests(; ncores=4)"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: julia-assert-${{ inputs.target }}-${{ inputs.LLVM_VERSION }}-test-results
path: ${{ github.workspace }}/share/julia/test/results*.json
if-no-files-found: warn
test_julia_assert_linux:
if: inputs.target == 'x86_64-linux-gnu-cxx11'
runs-on: ubuntu-latest
needs: build_julia_assert_linux
timeout-minutes: 120
env:
LLVM_VERSION_MAJOR: ${{ inputs.LLVM_VERSION_MAJOR }}
steps:
- uses: actions/checkout@v4
- name: Download a single artifact
uses: actions/download-artifact@v4
with:
name: julia-assert-${{ inputs.target }}-${{ inputs.LLVM_VERSION }}
- name: "Test Julia Assert"
run: |
set -o xtrace
tar xzf *.tar.gz .
julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'
export JULIA_TEST_MAXRSS_MB=3800
julia -e "Base.runtests(; ncores=4)"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: julia-assert-${{ inputs.target }}-${{ inputs.LLVM_VERSION }}-test-results
path: ${{ github.workspace }}/share/julia/test/results*.json
if-no-files-found: warn

0 comments on commit aa05695

Please sign in to comment.