From da218a4b4ea1fbd697616326027fb8e15883f6c6 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 16 Oct 2024 15:14:15 +0100 Subject: [PATCH] ci: drop the mkdir && cd dance The meson build system can create and change into the directory on its own. Drop the manual steps. Silly copy/paste left over from another project this file originates. Signed-off-by: Emil Velikov --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ea6478c..557effb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,8 +63,7 @@ jobs: - name: configure run: | - mkdir build && cd build - meson setup --native-file ../build-dev.ini . .. + meson setup --native-file build-dev.ini build - name: build run: meson compile -C build @@ -79,8 +78,7 @@ jobs: if: ${{ matrix.crossfile != '' }} run: | cp .github/cross-files/${{ matrix.crossfile }} cross.ini - mkdir build32 && cd build32 - meson setup --native-file ../build-dev.ini --cross-file ../cross.ini . .. + meson setup --native-file build-dev.ini --cross-file cross.ini build32 - name: build (32bit) if: ${{ matrix.crossfile != '' }}