Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[actions] - testing one action with multiple jobs for tests #7860

Merged
merged 6 commits into from May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
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 }}

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
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


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;

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
@@ -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)