Skip to content

Commit a0fde8e

Browse files
committed
Disable some builds
1 parent c095e15 commit a0fde8e

File tree

1 file changed

+84
-83
lines changed

1 file changed

+84
-83
lines changed

.github/workflows/cmake.yml

Lines changed: 84 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
runner:
20-
- ARM
20+
# - ARM
2121
- ARM64
2222
graphics-backends:
2323
- vulkan-only
@@ -93,90 +93,91 @@ jobs:
9393
name: flutter-pi-${{ matrix.compiler }}-${{ matrix.runner }}-${{ matrix.graphics-backends }}-${{ matrix.build-type }}
9494
path: build/flutter-pi
9595

96-
container:
97-
name: Build & Test in Container
98-
runs-on: ubuntu-latest
99-
container:
100-
image: ${{ matrix.container }}
101-
env:
102-
DEBIAN_FRONTEND: noninteractive
103-
strategy:
104-
matrix:
105-
container:
106-
- 'debian:bullseye'
107-
- 'debian:buster'
108-
graphics-backends:
109-
- vulkan-only
110-
- opengl-only
111-
- vulkan-and-opengl
112-
compiler:
113-
- gcc
114-
- clang
115-
build-type:
116-
- Debug
117-
- Release
118-
include:
119-
- graphics-backends: 'vulkan-only'
120-
enable-vulkan: 'on'
121-
enable-opengl: 'off'
96+
# container:
97+
# name: Build & Test in Container
98+
# runs-on: ubuntu-latest
99+
# container:
100+
# image: ${{ matrix.container }}
101+
# env:
102+
# DEBIAN_FRONTEND: noninteractive
103+
# strategy:
104+
# matrix:
105+
# container:
106+
# - 'debian:bullseye'
107+
# - 'debian:buster'
108+
# graphics-backends:
109+
# - vulkan-only
110+
# - opengl-only
111+
# - vulkan-and-opengl
112+
# compiler:
113+
# - gcc
114+
# - clang
115+
# build-type:
116+
# - Debug
117+
# - Release
118+
# include:
119+
# - graphics-backends: 'vulkan-only'
120+
# enable-vulkan: 'on'
121+
# enable-opengl: 'off'
122122

123-
- graphics-backends: 'opengl-only'
124-
enable-vulkan: 'off'
125-
enable-opengl: 'on'
123+
# - graphics-backends: 'opengl-only'
124+
# enable-vulkan: 'off'
125+
# enable-opengl: 'on'
126126

127-
- graphics-backends: 'vulkan-and-opengl'
128-
enable-vulkan: 'on'
129-
enable-opengl: 'on'
127+
# - graphics-backends: 'vulkan-and-opengl'
128+
# enable-vulkan: 'on'
129+
# enable-opengl: 'on'
130130

131-
- enable-opengl: 'on'
132-
opengl-deps: 'libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev'
133-
134-
- enable-vulkan: 'on'
135-
vulkan-deps: 'libvulkan-dev'
136-
137-
- compiler: 'clang'
138-
clang-deps: 'clang'
139-
steps:
140-
# git needs to be installed before checking out, otherwise the checkout will fallback to the REST API,
141-
# and the submodule download won't work.
142-
- name: Install dependencies
143-
run: |
144-
apt-get update && apt-get install -y \
145-
git cmake libdrm-dev libgbm-dev \
146-
libsystemd-dev libinput-dev libudev-dev \
147-
libxkbcommon-dev ninja-build libgstreamer-plugins-base1.0-dev \
148-
${{ matrix.vulkan-deps }} \
149-
${{ matrix.opengl-deps }} \
150-
${{ matrix.clang-deps }}
151-
152-
- uses: actions/checkout@v3
153-
with:
154-
submodules: 'recursive'
155-
156-
- name: Configure CMake
157-
run: |
158-
cmake \
159-
-B ./build \
160-
-S . \
161-
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \
162-
-DCMAKE_C_COMPILER=${{ matrix.compiler }} \
163-
-DBUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN=On \
164-
-DBUILD_GSTREAMER_VIDEO_PLAYER_PLUGIN=On \
165-
-DENABLE_VULKAN=${{ matrix.enable-vulkan }} \
166-
-DENABLE_OPENGL=${{ matrix.enable-opengl }} \
167-
-DENABLE_TESTS=On \
168-
-GNinja
169-
170-
- name: Build
171-
run: cmake --build ./build --config ${{ matrix.build-type }}
172-
173-
- name: Test
174-
working-directory: build
175-
run: ctest -C ${{ matrix.build-type }} --output-on-failure
131+
# - enable-opengl: 'on'
132+
# opengl-deps: 'libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev'
133+
134+
# - enable-vulkan: 'on'
135+
# vulkan-deps: 'libvulkan-dev'
136+
137+
# - compiler: 'clang'
138+
# clang-deps: 'clang'
139+
# steps:
140+
# # git needs to be installed before checking out, otherwise the checkout will fallback to the REST API,
141+
# # and the submodule download won't work.
142+
# - name: Install dependencies
143+
# run: |
144+
# apt-get update && apt-get install -y \
145+
# git cmake libdrm-dev libgbm-dev \
146+
# libsystemd-dev libinput-dev libudev-dev \
147+
# libxkbcommon-dev ninja-build libgstreamer-plugins-base1.0-dev \
148+
# ${{ matrix.vulkan-deps }} \
149+
# ${{ matrix.opengl-deps }} \
150+
# ${{ matrix.clang-deps }}
151+
152+
# - uses: actions/checkout@v3
153+
# with:
154+
# submodules: 'recursive'
155+
156+
# - name: Configure CMake
157+
# run: |
158+
# cmake \
159+
# -B ./build \
160+
# -S . \
161+
# -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \
162+
# -DCMAKE_C_COMPILER=${{ matrix.compiler }} \
163+
# -DBUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN=On \
164+
# -DBUILD_GSTREAMER_VIDEO_PLAYER_PLUGIN=On \
165+
# -DENABLE_VULKAN=${{ matrix.enable-vulkan }} \
166+
# -DENABLE_OPENGL=${{ matrix.enable-opengl }} \
167+
# -DENABLE_TESTS=On \
168+
# -GNinja
169+
170+
# - name: Build
171+
# run: cmake --build ./build --config ${{ matrix.build-type }}
172+
173+
# - name: Test
174+
# working-directory: build
175+
# run: ctest -C ${{ matrix.build-type }} --output-on-failure
176176

177177
required:
178178
name: required checks
179-
needs: [pi4, container]
179+
# needs: [pi4, container]
180+
needs: [pi4]
180181
runs-on: ubuntu-latest
181182
steps:
182183
- run: |
@@ -196,10 +197,10 @@ jobs:
196197
SHORT_SHA=$(echo ${{ github.sha }} | head -c 7)
197198
echo "::set-output name=short_sha::$SHORT_SHA"
198199
199-
- name: Download Build (ARM)
200-
uses: actions/download-artifact@v4
201-
with:
202-
name: flutter-pi-ARM-gcc-vulkan-and-opengl-Release # Adjust the name based on the artifact name
200+
# - name: Download Build (ARM)
201+
# uses: actions/download-artifact@v4
202+
# with:
203+
# name: flutter-pi-ARM-gcc-vulkan-and-opengl-Release # Adjust the name based on the artifact name
203204

204205
- name: Download Build (ARM64)
205206
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)