Skip to content

Pick tcc commit 08a4c52d when building from source #19

Pick tcc commit 08a4c52d when building from source

Pick tcc commit 08a4c52d when building from source #19

name: mips64el_linux_gcc
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
mips64el_linux_gcc:
runs-on: ubuntu-22.04
timeout-minutes: 5
env:
CC: ./mips64el-linux-musl-cross/bin/mips64el-linux-musl-gcc
LDFLAGS: -static
steps:
- uses: actions/checkout@v4
- run: sudo apt-get -y -qq update
- run: sudo apt install -y qemu-user
- name: Prepare cross-compiler
run: |
curl -O https://musl.cc/mips64el-linux-musl-cross.tgz
tar xzf mips64el-linux-musl-cross.tgz
- name: Verify tools version
run: ./mips64el-linux-musl-cross/bin/mips64el-linux-musl-gcc --version
- run: make
- run: file ./hello
- run: qemu-mips64el ./hello