Merge branch 'master' of jsoftware.com:jsource #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: MEMAUDIT32 | |
| on: | |
| push: | |
| branches: [ master ] | |
| # trigger workflow on file change | |
| #on: | |
| # push: | |
| # paths: | |
| # - 'version.txt' | |
| # if: ${{ false }} | |
| jobs: | |
| # linux ---------------------------------------------------------------- | |
| jelinuxma: | |
| name: JE (Linux) | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (Linux) | |
| run: | | |
| script/install-lnx.sh | |
| sudo mkdir -p /usr/lib/x86_64-linux-gnu | |
| sudo mkdir -p /usr/lib/i386-linux-gnu | |
| sudo cp openmp/obj/linux/x86_64/libomp.so.5 /usr/lib/x86_64-linux-gnu/libomp.so.5 | |
| sudo cp openmp/obj/linux/i386/libomp.so.5 /usr/lib/i386-linux-gnu/libomp.so.5 | |
| - name: Build JE (Linux) | |
| env: | |
| CC: clang | |
| USE_SLEEF: 1 | |
| USE_OPENMP: 0 | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/buildga.sh linux || exit 1 | |
| - name: Test JE (Linux) | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/testga.sh linux || exit 1 | |
| # ls -l j64 | |
| # zip -r l64ma.zip j64 | |
| # | |
| # - name: Release JE (Linux) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "l64ma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (Linux) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testlinuxma.txt | |
| # overwrite: true | |
| # macOS ---------------------------------------------------------------- | |
| jemacosma: | |
| name: JE (macOS) | |
| runs-on: macos-15-intel | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (macOS) | |
| run: | | |
| bash script/install-mac.sh | |
| - name: Build JE (macOS) | |
| env: | |
| CC: clang | |
| USE_SLEEF: 1 | |
| USE_OPENMP: 0 | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/buildga.sh darwin || exit 1 | |
| - name: Test JE (macOS) | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/testga.sh darwin || exit 1 | |
| # cd j64 | |
| # strip -S jconsole | |
| # strip -S libj.dylib | |
| # strip -S libjavx2.dylib || true | |
| # strip -S libjavx512.dylib || true | |
| # strip -S libtsdll.dylib | |
| # strip -S jamalgam || true | |
| # cd - | |
| # ls -l j64 | |
| # zip -r m64ma.zip j64 | |
| # | |
| # - name: Release JE (macOS) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "m64ma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (macOS) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testdarwinma.txt | |
| # overwrite: true | |
| # macOS arm64 ---------------------------------------------------------- | |
| jemacosarmma: | |
| name: JE (macOS arm64) | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (macOS arm64) | |
| run: | | |
| bash script/install-mac.sh | |
| - name: Build JE (macOS arm64) | |
| env: | |
| CC: clang | |
| USE_SLEEF: 1 | |
| USE_OPENMP: 0 | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/buildga.sh darwin || exit 1 | |
| - name: Test JE (macOS arm64) | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/testga.sh darwin || exit 1 | |
| # cd j64 | |
| # strip -S jconsole | |
| # strip -S libj.dylib | |
| # strip -S libjavx2.dylib || true | |
| # strip -S libjavx512.dylib || true | |
| # strip -S libtsdll.dylib | |
| # strip -S jamalgam || true | |
| # cd - | |
| # ls -l j64 | |
| # zip -r m64armma.zip j64 | |
| # | |
| # - name: Release JE (macOS arm64) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "m64armma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (macOS arm64) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testdarwinarmma.txt | |
| # overwrite: true | |
| # rpi64arm ------------------------------------------------------------- | |
| jerpi64armma: | |
| name: JE (Linux arm64) | |
| runs-on: ubuntu-22.04-arm | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (Linux arm64) | |
| run: | | |
| script/install-rpi.sh | |
| - name: Build JE (Linux arm64) | |
| env: | |
| CC: clang | |
| USE_SLEEF: 1 | |
| USE_OPENMP: 0 | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/buildga.sh raspberry arm64 || exit 1 | |
| - name: Test JE (Linux arm64) | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/testga.sh raspberry arm64 || exit 1 | |
| # cd j64 | |
| # strip -S jconsole | |
| # strip -S libj.so | |
| # strip -S libtsdll.so | |
| # strip -S jamalgam || true | |
| # strip -S libgmp.so | |
| # cd - | |
| # ls -l j64 | |
| # zip -r rpi64ma.zip j64 | |
| # | |
| # - name: Release JE (Linux arm64) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "rpi64ma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (Linux arm64) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testrpi64ma.txt | |
| # overwrite: true | |
| # rpi32arm ------------------------------------------------------------- | |
| jerpi32armma: | |
| name: JE (Linux arm32) | |
| runs-on: ubuntu-22.04-arm | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (Linux arm32) | |
| run: | | |
| script/install-rpi.sh | |
| - name: Build JE (Linux arm32) | |
| env: | |
| CC: arm-linux-gnueabihf-gcc | |
| USE_SLEEF: 1 | |
| USE_SLEEFQUAD: 1 | |
| USE_OPENMP: 0 | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/buildga.sh raspberry armv6l || exit 1 | |
| # - name: Test JE (Linux arm32) | |
| # env: | |
| # _MEMAUDIT: 32 | |
| # run: | | |
| # script/testga.sh raspberry armv6l || exit 1 | |
| # cd j32 | |
| # strip -S jconsole | |
| # strip -S libj.so | |
| # strip -S libtsdll.so | |
| # strip -S jamalgam || true | |
| # strip -S libgmp.so | |
| # cd - | |
| # ls -l j32 | |
| # zip -r rpi32ma.zip j32 | |
| # | |
| # - name: Release JE (Linux arm32) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "rpi32ma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (Linux arm32) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testrpi32ma.txt | |
| # overwrite: true | |
| # freebsd -------------------------------------------------------------- | |
| jefreebsd2ma: | |
| name: JE (FreeBSD cross-platform-actions) | |
| if: ${{ false }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Build, Test JE (FreeBSD) | |
| uses: cross-platform-actions/[email protected] | |
| with: | |
| operating_system: freebsd | |
| architecture: x86-64 | |
| version: '15.0' | |
| shell: bash | |
| run: | | |
| rm -f jobdone | |
| export IGNORE_OSVERSION=yes | |
| sudo pkg upgrade -y | |
| sudo rdate time.cloudflare.com || true | |
| sudo pkg search openblas 1>&2 | |
| sudo pkg install -y curl zip gmake nasm pcre2 openblas | |
| sudo find / -type f -name 'liblapack.so*' 1>&2 | |
| sudo find / -type f -name 'libopenblas.so*' 1>&2 | |
| /sbin/ldconfig -r | |
| ls -al ~/ | |
| ls -al ~/.ssh | |
| sudo echo "Host *" >>~/.ssh/config || true | |
| sudo echo " ServerAliveInterval 20" >>~/.ssh/config || true | |
| sudo echo " ServerAliveCountMax 2000000" >>~/.ssh/config || true | |
| echo "client ssh config" | |
| sudo cat ~/.ssh/config || true | |
| export CC=clang | |
| export USE_SLEEF=1 | |
| export USE_OPENMP=0 | |
| export _MEMAUDIT=46 | |
| script/buildga.sh freebsd || exit 1 | |
| script/testga.sh freebsd || exit 1 | |
| # cd j64 | |
| # strip -S jconsole | |
| # strip -S libj.so | |
| # strip -S libjavx2.so || true | |
| # strip -S libjavx512.so || true | |
| # strip -S libtsdll.so | |
| # strip -S jamalgam || true | |
| # strip -S libgmp.so | |
| # cd - | |
| # ls -l j64 | |
| # zip -r fbsd64.zip j64 | |
| # touch jobdone | |
| # | |
| # - name: Check Status (FreeBSD) | |
| # run: | | |
| # test -f jobdone || exit 1 | |
| # | |
| # - name: Release JE (FreeBSD) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "fbsd64.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (FreeBSD) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testfreebsd.txt | |
| # overwrite: true | |
| # freebsdarm64 --------------------------------------------------------------- | |
| jefreebsdarm64ma: | |
| name: JE (FreeBSD arm64) | |
| if: ${{ false }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Build, Test JE (FreeBSD arm64) | |
| uses: cross-platform-actions/[email protected] | |
| with: | |
| operating_system: freebsd | |
| architecture: arm64 | |
| version: '15.0' | |
| shell: bash | |
| run: | | |
| rm -f jobdone | |
| export IGNORE_OSVERSION=yes | |
| sudo pkg upgrade -y | |
| sudo rdate time.cloudflare.com || true | |
| sudo pkg search openblas 1>&2 | |
| sudo pkg install -y curl zip gmake nasm pcre2 openblas | |
| sudo find / -type f -name 'liblapack.so*' 1>&2 | |
| sudo find / -type f -name 'libopenblas.so*' 1>&2 | |
| /sbin/ldconfig -r | |
| ls -al ~/ | |
| ls -al ~/.ssh | |
| sudo echo "Host *" >>~/.ssh/config || true | |
| sudo echo " ServerAliveInterval 20" >>~/.ssh/config || true | |
| sudo echo " ServerAliveCountMax 2000000" >>~/.ssh/config || true | |
| echo "client ssh config" | |
| sudo cat ~/.ssh/config || true | |
| export CC=clang | |
| export USE_SLEEF=1 | |
| export USE_OPENMP=0 | |
| export _MEMAUDIT=46 | |
| script/buildga.sh freebsd || exit 1 | |
| script/testga.sh freebsd || exit 1 | |
| # cd j64 | |
| # strip -S jconsole | |
| # strip -S libj.so | |
| # strip -S libjavx2.so || true | |
| # strip -S libjavx512.so || true | |
| # strip -S libtsdll.so | |
| # strip -S jamalgam || true | |
| # strip -S libgmp.so | |
| # cd - | |
| # ls -l j64 | |
| # zip -r fbsdarm64.zip j64 | |
| # touch jobdone | |
| # | |
| # - name: Check Status (FreeBSD arm64) | |
| # run: | | |
| # test -f jobdone || exit 1 | |
| # | |
| # - name: Release JE (FreeBSD arm64) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "fbsdarm64.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (FreeBSD arm64) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testfreebsdarm64.txt | |
| # overwrite: true | |
| # wasm ----------------------------------------------------------------- | |
| jewasmma: | |
| name: JE (wasm) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (wasm) | |
| uses: mymindstorm/setup-emsdk@v14 | |
| - name: Build, Test JE (wasm) | |
| env: | |
| CC: emcc | |
| USE_SLEEF: 1 | |
| USE_OPENMP: 0 | |
| _MEMAUDIT: 32 | |
| run: | | |
| script/buildga.sh wasm || exit 1 | |
| script/testga.sh wasm || exit 1 | |
| # ls -l j32 | |
| # zip -r wasm32ma.zip j32 | |
| # | |
| # - name: Release JE (wasm) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "wasm32ma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (wasm) | |
| # windows -------------------------------------------------------------- | |
| jewinma: | |
| name: JE (Windows) | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (Windows) | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: amd64 | |
| - name: Build JE (Windows) | |
| shell: cmd | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script\buildga.cmd x64 | |
| - name: Test JE (Windows) | |
| shell: cmd | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script\testga.cmd x64 | |
| # - name: Compress Files (Windows) | |
| # shell: pwsh | |
| # run: Compress-Archive j64 w64ma.zip | |
| # | |
| # - name: Release JE (Windows) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "w64ma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (Windows) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testwinma.txt | |
| # overwrite: true | |
| # windows 32bit -------------------------------------------------------- | |
| jewin32ma: | |
| name: JE (Windows 32) | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (Windows 32) | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: x86 | |
| - name: Build JE (Windows 32) | |
| shell: cmd | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script\buildga.cmd x86 | |
| - name: Test JE (Windows 32) | |
| shell: cmd | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script\testga.cmd x86 | |
| # - name: Compress Files (Windows 32) | |
| # shell: pwsh | |
| # run: Compress-Archive j32 w32ma.zip | |
| # | |
| # - name: Release JE (Windows 32) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "w32ma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (Windows 32) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testwin32ma.txt | |
| # overwrite: true | |
| # windows arm64 -------------------------------------------------------- | |
| jewinarm64ma: | |
| name: JE (Windows arm64) | |
| runs-on: windows-11-arm | |
| steps: | |
| - name: Checkout Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Environment (Windows arm64) | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: amd64_arm64 | |
| - name: Build JE (Windows arm64) | |
| shell: cmd | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script\buildga.cmd arm64 | |
| - name: Test JE (Windows arm64) | |
| shell: cmd | |
| env: | |
| _MEMAUDIT: 32 | |
| run: | | |
| script\testga.cmd arm64 | |
| # - name: Compress Files (Windows arm64) | |
| # shell: pwsh | |
| # run: Compress-Archive jarm64 warm64ma.zip | |
| # | |
| # - name: Release JE (Windows arm64) | |
| # uses: ncipollo/release-action@v1 | |
| # with: | |
| # tag: build | |
| # artifacts: "warm64ma.zip" | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| # allowUpdates: true | |
| # replacesArtifacts: true | |
| # | |
| # - name: Copy Test (Windows arm64) | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: dist | |
| # path: testwinarm64ma.txt | |
| # overwrite: true | |