Skip to content

Commit 053daca

Browse files
fix ci workflow
1 parent 26585db commit 053daca

2 files changed

Lines changed: 1 addition & 357 deletions

File tree

.github/workflows/branch.yml

Lines changed: 0 additions & 243 deletions
This file was deleted.

.github/workflows/make.yml

Lines changed: 1 addition & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
tags:
7-
- v14.1
7+
- v14.2
88

99
env:
1010
AUTOTESTER_LIBS_GROUP: ${{github.workspace}}/toolchain/clibs.8xg
@@ -347,116 +347,3 @@ jobs:
347347
with:
348348
name: built-examples
349349
path: ${{env.CEDEV}}/built-examples.zip
350-
351-
docs:
352-
runs-on: ubuntu-latest
353-
steps:
354-
- name: Install Documentation Dependencies
355-
run: |
356-
sudo apt-get install -y doxygen
357-
cmake -E echo >> $${{matrix.env}}GITHUB_PATH $${{matrix.env}}HOME/.local/bin
358-
359-
- name: Checkout Toolchain
360-
uses: actions/checkout@v4
361-
with:
362-
path: ${{env.TOOLCHAIN_PATH}}
363-
persist-credentials: false
364-
fetch-depth: 0
365-
366-
- name: Install Sphinx Dependencies
367-
run: pip install -r ${{env.TOOLCHAIN_PATH}}/docs/requirements.txt
368-
369-
- name: Build Website Documentation
370-
run: make -C ${{env.TOOLCHAIN_PATH}} docs
371-
- name: Disable Jekyll
372-
run: touch ${{env.TOOLCHAIN_PATH}}/docs/build/html/.nojekyll
373-
- name: Remove .pickle files
374-
run: find ${{env.TOOLCHAIN_PATH}}/docs/build/ -name '*.pickle' -delete
375-
376-
- name: Upload Website Documentation
377-
if: github.ref == 'refs/heads/master'
378-
run: |
379-
git config --global user.name 'gh-pages'
380-
git config --global user.email '<>'
381-
cd ${{env.TOOLCHAIN_PATH}}/docs/build/html
382-
git init
383-
git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
384-
git checkout -b gh-pages
385-
git add .
386-
git commit -m "build documentation"
387-
git fetch origin gh-pages
388-
git diff --quiet origin/gh-pages gh-pages || git push -f origin gh-pages
389-
390-
nightly:
391-
runs-on: ubuntu-latest
392-
needs: test
393-
if: github.ref == 'refs/heads/master'
394-
395-
steps:
396-
- name: Download CEdev Linux
397-
uses: actions/download-artifact@v4
398-
with:
399-
name: CEdev-Linux
400-
path: ${{github.workspace}}
401-
- name: Download CEdev Windows
402-
uses: actions/download-artifact@v4
403-
with:
404-
name: CEdev-Windows
405-
path: ${{github.workspace}}
406-
- name: Download CEdev macOS-intel
407-
uses: actions/download-artifact@v4
408-
with:
409-
name: CEdev-macOS-intel
410-
path: ${{github.workspace}}
411-
- name: Download CEdev macOS-arm
412-
uses: actions/download-artifact@v4
413-
with:
414-
name: CEdev-macOS-arm
415-
path: ${{github.workspace}}
416-
- name: Download CE Libraries
417-
uses: actions/download-artifact@v4
418-
with:
419-
name: clibs
420-
path: ${{github.workspace}}
421-
- name: Download Libraries Zip
422-
uses: actions/download-artifact@v4
423-
with:
424-
name: clibs_separately_in_zip
425-
path: ${{github.workspace}}
426-
- name: Download Built examples
427-
uses: actions/download-artifact@v4
428-
with:
429-
name: built-examples
430-
path: ${{github.workspace}}
431-
432-
- name: Rename Artifacts
433-
run: |
434-
mv CEdev-Linux.tar.gz CEdev-Linux-nightly.tar.gz
435-
mv CEdev-Windows.zip CEdev-Windows-nightly.zip
436-
mv CEdev-macOS-intel.dmg CEdev-macOS-intel-nightly.dmg
437-
mv CEdev-macOS-arm.dmg CEdev-macOS-arm-nightly.dmg
438-
mv built-examples.zip built-examples-nightly.zip
439-
440-
- name: Update nightly release
441-
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
442-
uses: softprops/action-gh-release@5122b4edc95f85501a71628a57dc180a03ec7588 # latest as of 2025-12-22
443-
with:
444-
tag_name: nightly
445-
prerelease: true
446-
token: ${{secrets.GITHUB_TOKEN}}
447-
files: |
448-
CEdev-Linux-nightly.tar.gz
449-
CEdev-Windows-nightly.zip
450-
CEdev-macOS-intel-nightly.dmg
451-
CEdev-macOS-arm-nightly.dmg
452-
clibs.8xg
453-
clibs_separately_in_zip.zip
454-
built-examples-nightly.zip
455-
456-
- name: Dispatch libraries repo
457-
uses: peter-evans/repository-dispatch@v3
458-
with:
459-
token: ${{ secrets.CI_PAT_CLIBS_NIGHTLTY }}
460-
repository: CE-Programming/libraries
461-
event-type: ci-clibs-nightly
462-

0 commit comments

Comments
 (0)