mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-10-19 04:55:19 +00:00
chore: reorder jobs in build-test
This commit is contained in:
23
.github/workflows/ci.yaml
vendored
23
.github/workflows/ci.yaml
vendored
@@ -50,19 +50,20 @@ jobs:
|
|||||||
PREMAKE_NO_PROMPT: 1
|
PREMAKE_NO_PROMPT: 1
|
||||||
run: ./generate.sh ${{ matrix.premake_flags }}
|
run: ./generate.sh ${{ matrix.premake_flags }}
|
||||||
|
|
||||||
|
- name: Build UI
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
if: ${{ matrix.build_arch == 'x64' }}
|
||||||
|
run: |
|
||||||
|
npm --prefix src/ModManUi install
|
||||||
|
npm --prefix src/ModManUi run lint
|
||||||
|
npm --prefix src/ModManUi run build
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
npm --prefix src/ModManUi install
|
|
||||||
npm --prefix src/ModManUi run build
|
|
||||||
make -C build -j$(nproc) config=release_${{ matrix.build_arch }} all
|
make -C build -j$(nproc) config=release_${{ matrix.build_arch }} all
|
||||||
chmod +x build/bin/Release_${{ matrix.build_arch }}/{ImageConverter,Unlinker,Linker}
|
chmod +x build/bin/Release_${{ matrix.build_arch }}/{ImageConverter,Unlinker,Linker}
|
||||||
|
|
||||||
- name: Lint
|
|
||||||
working-directory: ${{ github.workspace }}
|
|
||||||
run: |
|
|
||||||
npm --prefix src/ModManUi run lint
|
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests
|
working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests
|
||||||
run: |
|
run: |
|
||||||
@@ -105,17 +106,17 @@ jobs:
|
|||||||
PREMAKE_NO_PROMPT: 1
|
PREMAKE_NO_PROMPT: 1
|
||||||
run: ./generate.bat --modman
|
run: ./generate.bat --modman
|
||||||
|
|
||||||
- name: Build
|
- name: Build UI
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
npm --prefix src/ModManUi install
|
npm --prefix src/ModManUi install
|
||||||
|
npm --prefix src/ModManUi run lint
|
||||||
npm --prefix src/ModManUi run build
|
npm --prefix src/ModManUi run build
|
||||||
msbuild /m /p:Configuration=Release /p:Platform=${{ matrix.msbuild_config }} build
|
|
||||||
|
|
||||||
- name: Lint
|
- name: Build
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
npm --prefix src/ModManUi run lint
|
msbuild /m /p:Configuration=Release /p:Platform=${{ matrix.msbuild_config }} build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests
|
working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests
|
||||||
|
Reference in New Issue
Block a user