From 6c2b8a1c2efec63f8a2f82fe8f4c07e2bb70b468 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 1 Jun 2021 18:29:52 -0400
Subject: [PATCH] CI: fix (?) working directory on build?
---
.github/workflows/main.yml | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 3ed79b9..903e9fc 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -24,16 +24,11 @@ jobs:
repository: libsdl-org/SDL
ref: release-2.0.14
path: SDL2
- - name: Sanity check SDL2 headers 1
- run: ls -l "${{ github.workspace }}"
- - name: Sanity check SDL2 headers 2
- run: ls -l "${{ github.workspace }}/SDL2"
- - name: Sanity check SDL2 headers 3
- run: ls -l "${{ github.workspace }}/SDL2/include"
- name: Get sdl12-compat sources
uses: actions/checkout@v2
- name: Configure CMake
run: cmake -DSDL2_INCLUDE_DIR="${{ github.workspace }}/SDL2/include" -B build ${{ matrix.platform.flags }}
- name: Build
- run: cmake --build build/
+ working-directory: .build
+ run: cmake --build .