Skip to content

Commit 2acbcab

Browse files
authored
of.yml - remove determine release
determine release is an intricate script to make download_libs still more incomprehensible with a mixture of BLEEDING and tag
1 parent 60de346 commit 2acbcab

File tree

1 file changed

+78
-78
lines changed

1 file changed

+78
-78
lines changed

.github/workflows/of.yml

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ jobs:
3333
- uses: actions/checkout@v4
3434
- name: Docker Step
3535
run: "docker run -di --name emscripten -v $PWD:/src emscripten/emsdk:3.1.21 bash"
36-
- name: Determine Release
37-
id: vars
38-
shell: bash
39-
run: |
40-
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
41-
echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
42-
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
43-
echo "RELEASE=nightly" >> $GITHUB_ENV
44-
elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
45-
echo "RELEASE=latest" >> $GITHUB_ENV
46-
else
47-
echo "RELEASE=latest" >> $GITHUB_ENV
48-
fi
36+
# - name: Determine Release
37+
# id: vars
38+
# shell: bash
39+
# run: |
40+
# if [[ "${{ github.ref }}" == refs/tags/* ]]; then
41+
# echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
42+
# elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
43+
# echo "RELEASE=nightly" >> $GITHUB_ENV
44+
# elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
45+
# echo "RELEASE=latest" >> $GITHUB_ENV
46+
# else
47+
# echo "RELEASE=latest" >> $GITHUB_ENV
48+
# fi
4949
- name: Download libs
5050
run: ./scripts/$TARGET/download_libs.sh
5151
- name: Install dependencies
@@ -130,19 +130,19 @@ jobs:
130130
install: >-
131131
git
132132
unzip
133-
- name: Determine Release
134-
id: vars
135-
shell: bash
136-
run: |
137-
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
138-
echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
139-
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
140-
echo "RELEASE=nightly" >> $GITHUB_ENV
141-
elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
142-
echo "RELEASE=latest" >> $GITHUB_ENV
143-
else
144-
echo "RELEASE=latest" >> $GITHUB_ENV
145-
fi
133+
# - name: Determine Release
134+
# id: vars
135+
# shell: bash
136+
# run: |
137+
# if [[ "${{ github.ref }}" == refs/tags/* ]]; then
138+
# echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
139+
# elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
140+
# echo "RELEASE=nightly" >> $GITHUB_ENV
141+
# elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
142+
# echo "RELEASE=latest" >> $GITHUB_ENV
143+
# else
144+
# echo "RELEASE=latest" >> $GITHUB_ENV
145+
# fi
146146
- name: Install dependencies
147147
shell: msys2 {0}
148148
run:
@@ -185,19 +185,19 @@ jobs:
185185
uses: hendrikmuhs/ccache-action@v1.2.14
186186
with:
187187
key: ${{ matrix.cfg.libs }}
188-
- name: Determine Release
189-
id: vars
190-
shell: bash
191-
run: |
192-
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
193-
echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
194-
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
195-
echo "RELEASE=nightly" >> $GITHUB_ENV
196-
elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
197-
echo "RELEASE=latest" >> $GITHUB_ENV
198-
else
199-
echo "RELEASE=latest" >> $GITHUB_ENV
200-
fi
188+
# - name: Determine Release
189+
# id: vars
190+
# shell: bash
191+
# run: |
192+
# if [[ "${{ github.ref }}" == refs/tags/* ]]; then
193+
# echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
194+
# elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
195+
# echo "RELEASE=nightly" >> $GITHUB_ENV
196+
# elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
197+
# echo "RELEASE=latest" >> $GITHUB_ENV
198+
# else
199+
# echo "RELEASE=latest" >> $GITHUB_ENV
200+
# fi
201201
- name: Download libs
202202
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}} -t $RELEASE;
203203
- name: Install dependencies
@@ -226,19 +226,19 @@ jobs:
226226
uses: hendrikmuhs/ccache-action@v1.2.14
227227
with:
228228
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}
229-
- name: Determine Release
230-
id: vars
231-
shell: bash
232-
run: |
233-
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
234-
echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
235-
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
236-
echo "RELEASE=nightly" >> $GITHUB_ENV
237-
elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
238-
echo "RELEASE=latest" >> $GITHUB_ENV
239-
else
240-
echo "RELEASE=latest" >> $GITHUB_ENV
241-
fi
229+
# - name: Determine Release
230+
# id: vars
231+
# shell: bash
232+
# run: |
233+
# if [[ "${{ github.ref }}" == refs/tags/* ]]; then
234+
# echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
235+
# elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
236+
# echo "RELEASE=nightly" >> $GITHUB_ENV
237+
# elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
238+
# echo "RELEASE=latest" >> $GITHUB_ENV
239+
# else
240+
# echo "RELEASE=latest" >> $GITHUB_ENV
241+
# fi
242242
- name: Download libs
243243
run: ./scripts/${{matrix.cfg.libs}}/download_libs.sh -t $RELEASE
244244
- name: install
@@ -270,19 +270,19 @@ jobs:
270270
with:
271271
packages: aptitude aptitude-common libboost-iostreams1.83.0 libcwidget4 libsigc++-2.0-0v5 libxapian30 fonts-wine{a} libasound2-plugins{a} libcapi20-3t64{a} libosmesa6{a} libpcsclite1{a} libspeexdsp1{a} libwine{a} libxkbregistry0{a} libz-mingw-w64{a} wine{a} wine64 wget2 make libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
272272
version: 1.0
273-
- name: Determine Release
274-
id: vars
275-
shell: bash
276-
run: |
277-
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
278-
echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
279-
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
280-
echo "RELEASE=nightly" >> $GITHUB_ENV
281-
elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
282-
echo "RELEASE=latest" >> $GITHUB_ENV
283-
else
284-
echo "RELEASE=latest" >> $GITHUB_ENV
285-
fi
273+
# - name: Determine Release
274+
# id: vars
275+
# shell: bash
276+
# run: |
277+
# if [[ "${{ github.ref }}" == refs/tags/* ]]; then
278+
# echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
279+
# elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
280+
# echo "RELEASE=nightly" >> $GITHUB_ENV
281+
# elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
282+
# echo "RELEASE=latest" >> $GITHUB_ENV
283+
# else
284+
# echo "RELEASE=latest" >> $GITHUB_ENV
285+
# fi
286286
- uses: actions/checkout@v4
287287
- name: ccache
288288
uses: hendrikmuhs/ccache-action@v1.2.14
@@ -357,19 +357,19 @@ jobs:
357357
with:
358358
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.opt }}
359359

360-
- name: Determine Release
361-
id: vars
362-
shell: bash
363-
run: |
364-
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
365-
echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
366-
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
367-
echo "RELEASE=nightly" >> $GITHUB_ENV
368-
elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
369-
echo "RELEASE=latest" >> $GITHUB_ENV
370-
else
371-
echo "RELEASE=latest" >> $GITHUB_ENV
372-
fi
360+
# - name: Determine Release
361+
# id: vars
362+
# shell: bash
363+
# run: |
364+
# if [[ "${{ github.ref }}" == refs/tags/* ]]; then
365+
# echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
366+
# elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
367+
# echo "RELEASE=nightly" >> $GITHUB_ENV
368+
# elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
369+
# echo "RELEASE=latest" >> $GITHUB_ENV
370+
# else
371+
# echo "RELEASE=latest" >> $GITHUB_ENV
372+
# fi
373373

374374

375375
- name: Download libs

0 commit comments

Comments
 (0)