From 670238dd5ad1f9e7a74489fde8460fd1b18151e2 Mon Sep 17 00:00:00 2001 From: cmclark00 <116466213+cmclark00@users.noreply.github.com> Date: Tue, 13 Aug 2024 22:10:53 -0400 Subject: [PATCH] Create main1.yml --- .github/workflows/main1.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/main1.yml diff --git a/.github/workflows/main1.yml b/.github/workflows/main1.yml new file mode 100644 index 0000000..383247f --- /dev/null +++ b/.github/workflows/main1.yml @@ -0,0 +1,37 @@ + +name: Universal1 + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build-linux: + name: idk + runs-on: ubuntu-latest + strategy: + matrix: + arch: [x64, arm64] + steps: + - uses: actions/checkout@v3 + - name: Set up QEMU1 + uses: docker/setup-qemu-action@v2 + - name: Set up Docker Buildx1 + uses: docker/setup-buildx-action@v2 + - name: Install Dependencies1 + run: sudo apt-get install -y cmake make gcc g++ libssl-dev + - name: Build1 + run: | + mkdir build + cd build + cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc + make + - name: Upload Artifact1 + uses: actions/upload-artifact@v3 + with: + name: linux-${{ matrix.arch }}-binaries + path: build/*