From 247daee0e8f4803cfd672c88cc45b9dd10bf51a9 Mon Sep 17 00:00:00 2001 From: Zeke Mostov Date: Tue, 20 Feb 2024 14:31:09 -0500 Subject: [PATCH] init action skeleton --- .github/workflows/stage.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/stage.yml diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml new file mode 100644 index 00000000..d9ac87b5 --- /dev/null +++ b/.github/workflows/stage.yml @@ -0,0 +1,32 @@ +name: stagex-build + +on: + push: + tags: + - v*.*.* + branches: + - main + pull_request: + workflow_dispatch: # Allows manual invocation + +jobs: + build: + name: build default targets + runs-on: ubuntu-latest + strategy: + matrix: + include: + - target: qos_host.oci.x86_64.tar + - target: qos_enclave.oci.x86_64.tar + - target: qos_client.oci.x86_64.tar + steps: + - name: Checkout sources + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + fetch-depth: 0 + submodules: true + - name: Run `make out/${{ matrix.target }}` + shell: 'script -q -e -c "bash {0}"' + run: | + touch cache/toolchain.tgz + make -d toolchain out/${{ matrix.target }} \ No newline at end of file