From f1a2e795230d9d3c68d60afbee772e8fa707e0e9 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 1 Jun 2021 18:34:43 -0400
Subject: [PATCH] CI: still trying to get these headers in the right place...
---
.github/workflows/main.yml | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 910e21e..692f04f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -18,17 +18,16 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install cmake ninja-build
+ - name: Get sdl12-compat sources
+ uses: actions/checkout@v2
- name: Get SDL2 headers
uses: actions/checkout@v2
with:
repository: libsdl-org/SDL
ref: release-2.0.14
- path: SDL2
- - name: Get sdl12-compat sources
- uses: actions/checkout@v2
+ path: sdl12-compat/SDL2
- name: Configure CMake
run: cmake -DSDL2_INCLUDE_DIR="${{ github.workspace }}/SDL2/include" -B build ${{ matrix.platform.flags }}
- name: Build
- working-directory: build
- run: cmake --build .
+ run: cmake --build build/