mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-17 19:04:42 +00:00
CI Action for texinfo
This commit is contained in:
29
.github/workflows/build.yml
vendored
29
.github/workflows/build.yml
vendored
@@ -66,6 +66,7 @@ jobs:
|
|||||||
!**/*.o
|
!**/*.o
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
|
if: ${{ false }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: debian:11
|
container: debian:11
|
||||||
defaults:
|
defaults:
|
||||||
@@ -122,6 +123,7 @@ jobs:
|
|||||||
!**/*.o
|
!**/*.o
|
||||||
|
|
||||||
freebsd-x86_64:
|
freebsd-x86_64:
|
||||||
|
if: ${{ false }}
|
||||||
runs-on: macos-10.15
|
runs-on: macos-10.15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -145,6 +147,7 @@ jobs:
|
|||||||
!**/*.o
|
!**/*.o
|
||||||
|
|
||||||
macos-x86_64:
|
macos-x86_64:
|
||||||
|
if: ${{ false }}
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@@ -222,6 +225,7 @@ jobs:
|
|||||||
!**/*.obj
|
!**/*.obj
|
||||||
|
|
||||||
mingw:
|
mingw:
|
||||||
|
if: ${{ false }}
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@@ -265,3 +269,28 @@ jobs:
|
|||||||
cmake_build/
|
cmake_build/
|
||||||
!**/*.d
|
!**/*.d
|
||||||
!**/*.obj
|
!**/*.obj
|
||||||
|
|
||||||
|
docs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./src/doc
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install prerequisites
|
||||||
|
run: sudo apt-get install -y texlive texi2html
|
||||||
|
- name: Configure
|
||||||
|
run: >-
|
||||||
|
cmake
|
||||||
|
-D DEBUG_CMAKE=1
|
||||||
|
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
-B ../../cmake_build
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build ../../cmake_build
|
||||||
|
- name: Archive build artifacts
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: docs
|
||||||
|
path: |
|
||||||
|
cmake_build/
|
||||||
|
|||||||
21
.github/workflows/deploy.yml
vendored
21
.github/workflows/deploy.yml
vendored
@@ -78,8 +78,27 @@ jobs:
|
|||||||
asset_name: avrdude-${{github.ref_name}}-windows-${{matrix.arch}}.zip
|
asset_name: avrdude-${{github.ref_name}}-windows-${{matrix.arch}}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
asset-pdf:
|
||||||
|
needs: release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Download artifact
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: docs
|
||||||
|
|
||||||
|
- name: Upload release asset
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
with:
|
||||||
|
upload_url: ${{needs.release.outputs.upload_url}}
|
||||||
|
asset_path: ./avrdude.pdf
|
||||||
|
asset_name: avrdude-${{github.ref_name}}.pdf
|
||||||
|
asset_content_type: application/pdf
|
||||||
|
|
||||||
#deploy:
|
#deploy:
|
||||||
# needs: [asset-msvc]
|
# needs: [asset-msvc, asset-pdf]
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
# steps:
|
# steps:
|
||||||
# - name: Create package (Chocolatey)
|
# - name: Create package (Chocolatey)
|
||||||
|
|||||||
Reference in New Issue
Block a user