From ff6a41b1b93955763da9a5fe7137b1eaa272ecb9 Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sun, 24 Dec 2023 20:19:06 +0800 Subject: [PATCH] U | Update GitAction --- .github/workflows/preview-build.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index f0b9af9..c3a632c 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -11,11 +11,25 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: build-linux - run: sh ./make.sh - working-directory: / - - name: Build Preview MCT-Linux + - name: CMake build + run: | + cd ${{ github.workspace }} + ls + mkdir build + cd build + cmake --version + cmake ../ + shell: sh + - name: Make build + run: | + cd ${{ github.workspace }} + ls + cd build + make + shell: sh + - name: Upload exec file uses: actions/upload-artifact@v3.1.2 with: name: MCT-Pre path: build/MCT +