diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 709bdec..24d4a00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,23 +23,23 @@ jobs: fail-fast: false matrix: arch: - # - { name: i686, alt: x86 } - # - { name: x86_64, alt: amd64 } - # - { name: aarch64, alt: arm64 } + - { name: i686, alt: x86 } + - { name: x86_64, alt: amd64 } + - { name: aarch64, alt: arm64 } - { name: powerpc, alt: powerpc } - # - { name: powerpc64, alt: powerpc64 } - # - { name: riscv32, alt: riscv } - # - { name: riscv64, alt: riscv } - # - { name: mips, alt: mips } - # - { name: m68k, alt: m68k } + - { name: powerpc64, alt: powerpc64 } + - { name: riscv32, alt: riscv } + - { name: riscv64, alt: riscv } + - { name: mips, alt: mips } + - { name: m68k, alt: m68k } libc: [ gnu, musl ] include: - # - { arch: { name: mips64, alt: mips }, libc: gnuabi64 } - # - { arch: { name: mips64, alt: mips }, libc: musl } + - { arch: { name: mips64, alt: mips }, libc: gnuabi64 } + - { arch: { name: mips64, alt: mips }, libc: musl } # - { arch: { name: arm, alt: arm }, libc: gnueabihf } - { arch: { name: armv7l, alt: arm }, libc: musleabihf } - #exclude: - # - { arch: { name: riscv32, alt: riscv }, libc: gnu } + exclude: + - { arch: { name: riscv32, alt: riscv }, libc: gnu } runs-on: ubuntu-latest @@ -52,23 +52,20 @@ jobs: path: mlton - name: Checkout musl-cross-make - if: startsWith(matrix.libc, 'musl') + if: startsWith(matrix.libc, 'musl') && false uses: actions/checkout@v4 with: repository: richfelker/musl-cross-make ref: master path: musl-cross-make - - name: ls - run: ls -l - - name: Install qemu run: | sudo apt-get update sudo apt-get install qemu-user-static - - name: Install toolchain (musl.cc) - if: ${{ startsWith(matrix.libc, 'musl') && false }} + - name: Install toolchain (musl) + if: startsWith(matrix.libc, 'musl') run: | curl -sOL https://more.musl.cc/x86_64-linux-musl/${{ matrix.arch.name }}-linux-${{ matrix.libc }}-cross.tgz tar -xf ${{ matrix.arch.name }}-linux-${{ matrix.libc }}-cross.tgz @@ -76,8 +73,8 @@ jobs: rm -r ${{ matrix.arch.name }}-linux-${{ matrix.libc }}-cross \ ${{ matrix.arch.name }}-linux-${{ matrix.libc }}-cross.tgz - - name: Install toolchain (musl) - if: startsWith(matrix.libc, 'musl') + - name: Build toolchain (musl) + if: startsWith(matrix.libc, 'musl') && false run: | cd musl-cross-make cat < config.mak @@ -94,13 +91,13 @@ jobs: sudo make install - name: Install toolchain (glibc) - if: ${{ startsWith(matrix.libc, 'gnu') && matrix.arch.name != 'x86_64' }} + if: startsWith(matrix.libc, 'gnu') && matrix.arch.name != 'x86_64' run: | sudo apt-get install gcc-${{ matrix.arch.name }}-linux-${{ matrix.libc }} \ binutils-${{ matrix.arch.name }}-linux-${{ matrix.libc }} - name: Link cc to gcc - if: ${{ startsWith(matrix.libc, 'gnu') }} + if: startsWith(matrix.libc, 'gnu') run: | sudo ln -s /usr/bin/${{ matrix.arch.name }}-linux-${{ matrix.libc }}-gcc \ /usr/bin/${{ matrix.arch.name }}-linux-${{ matrix.libc }}-cc @@ -132,7 +129,7 @@ jobs: sudo cp -p mlton/runtime/platform/linux.h /opt/boot/lib/mlton/include/platform/linux.h - name: Build target runtime (old) - if: ${{ false }} + if: false run: | curl -sOL https://github.com/MLton/mlton/releases/download/on-20210117-release/mlton-20210117.src.tgz tar xzf mlton-20210117.src.tgz @@ -148,7 +145,7 @@ jobs: sudo cp -fpR src/build/lib/mlton/targets/${{ matrix.arch.name }}-linux-${{ matrix.libc }} /opt/boot/lib/mlton/targets/ - name: Build target runtime (new) - if: ${{ true }} + if: true run: | cd mlton PATH="/opt/boot/bin:$PATH" make \ @@ -177,6 +174,7 @@ jobs: build/bin/mlton -show path-map - name: Limit tests + if: false run: | cd mlton mv regression/real.sml .