Skip to content

Commit

Permalink
[actions] - testing one action with multiple jobs for tests (#7860)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitre authored May 11, 2024
1 parent e5ba8f9 commit 4621d70
Show file tree
Hide file tree
Showing 9 changed files with 344 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# env:
# ccache: ccache

jobs:
build-emscripten:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ on:
- '**/*.md'
- 'examples/**'

env:
ccache: ccache

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ccache: ccache

jobs:
build-ios-tvos:
runs-on: macos-13
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ on:
- '**/*.md'
- 'examples/**'

env:
ccache: ccache

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ccache: ccache

jobs:
build-linux64-platforms:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -61,4 +61,3 @@ jobs:
# run: scripts/ci/upload_of_lib.sh;
# env:
# GA_CI_SECRET: ${{ secrets.CI_SECRET }}

Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ on:
- '**/*.md'
- 'examples/**'

env:
ccache: ccache

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ccache: ccache

jobs:
build-macos:
runs-on: macos-13
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ on:
- '**/*.md'
- 'examples/**'

env:
ccache: ccache

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ccache: ccache

jobs:
build-msys2:
runs-on: windows-latest
Expand Down Expand Up @@ -64,5 +64,3 @@ jobs:

- name: Run tests
run: ./scripts/ci/msys2/run_tests.sh


Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ on:
- '**/*.md'
- 'examples/**'

env:
ccache: ccache

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ccache: ccache

jobs:
rpi-build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -52,4 +52,3 @@ jobs:
run: ./scripts/ci/linuxrpi/install.sh;
- name: Build
run: ./scripts/ci/linuxrpi/build.sh;

Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# env:
# ccache: ccache

jobs:
build-vs2022:
runs-on: windows-2022
Expand Down Expand Up @@ -58,4 +61,3 @@ jobs:
working-directory: ${{env.GITHUB_WORKSPACE}}
run:
msbuild examples/templates/allAddonsExample/allAddonsExample.vcxproj /p:configuration=debug /p:platform=${{ matrix.platform }} /p:PlatformToolset=v143

35 changes: 35 additions & 0 deletions .github/workflows/all.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/python3
import glob

lista = glob.glob('actions/*.yml')
print(lista)
contagem = 0
alllines = ''
lines = []
first = True
for a in lista:
print(a)
f = open(a,'r')
# alllines += (f.read() + '\n\n\n\n')


if first:
first = False
lines += 'name: OF'
lines += ''
lines += f.readlines()[1:]
else:
lines += f.readlines()[23:]
# lines.append(f.readlines()[2:])
lines += '\n\n'
lines += '# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \n\n'
# lines.append('\n\n\n\n')
f.close()

all = open('of.yml','w')
# all.write(alllines)
print(lines)
all.writelines(lines)
all.close()

print (alllines)
Loading

0 comments on commit 4621d70

Please sign in to comment.