Browse Source

kicad 8 for gh actions workflow

Thomas Buck 1 month ago
parent
commit
338120d12a
2 changed files with 5 additions and 13 deletions
  1. 1
    12
      .github/workflows/docs.yml
  2. 4
    1
      .github/workflows/kicad.yml

+ 1
- 12
.github/workflows/docs.yml View File

52
 
52
 
53
       - name: Install dependencies
53
       - name: Install dependencies
54
         run: |
54
         run: |
55
-          sudo add-apt-repository --yes ppa:kicad/kicad-7.0-releases
55
+          sudo add-apt-repository --yes ppa:kicad/kicad-8.0-releases
56
           sudo apt update
56
           sudo apt update
57
           sudo apt install -y --install-recommends kicad pipx libfuse2 libegl1 poppler-utils
57
           sudo apt install -y --install-recommends kicad pipx libfuse2 libegl1 poppler-utils
58
 
58
 
64
           curl -sSL $url | tar -xz --directory=./mdbook
64
           curl -sSL $url | tar -xz --directory=./mdbook
65
           echo `pwd`/mdbook >> $GITHUB_PATH
65
           echo `pwd`/mdbook >> $GITHUB_PATH
66
 
66
 
67
-      - name: Install (more current) PrusaSlicer
68
-        run: |
69
-          url="https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.7.1/PrusaSlicer-2.7.1+linux-x64-GTK3-202312121425.AppImage"
70
-          mkdir prusa
71
-          curl -o prusa/prusa-slicer -sSL $url
72
-          chmod a+x prusa/prusa-slicer
73
-          echo `pwd`/prusa >> $GITHUB_PATH
74
-
75
       - name: Install JLC2KiCad_lib
67
       - name: Install JLC2KiCad_lib
76
         run: pipx install git+https://github.com/Xyntexx/JLC2KiCad_lib.git@footprint_alignment_workarounds
68
         run: pipx install git+https://github.com/Xyntexx/JLC2KiCad_lib.git@footprint_alignment_workarounds
77
 
69
 
78
       - name: Fetch part footprints
70
       - name: Fetch part footprints
79
         run: hardware/fetch_jlc.sh
71
         run: hardware/fetch_jlc.sh
80
 
72
 
81
-      - name: Generate Plots
82
-        run: hardware/generate_plot.sh
83
-
84
       - name: Build Book
73
       - name: Build Book
85
         run: docs/generate_docs.sh build
74
         run: docs/generate_docs.sh build
86
 
75
 

+ 4
- 1
.github/workflows/kicad.yml View File

42
         with:
42
         with:
43
           fetch-depth: 0
43
           fetch-depth: 0
44
 
44
 
45
+      - name: Checkout repo submodules
46
+        run: git submodule update --init
47
+
45
       - name: Install dependencies
48
       - name: Install dependencies
46
         run: |
49
         run: |
47
-          sudo add-apt-repository --yes ppa:kicad/kicad-7.0-releases
50
+          sudo add-apt-repository --yes ppa:kicad/kicad-8.0-releases
48
           sudo apt update
51
           sudo apt update
49
           sudo apt install -y --install-recommends kicad
52
           sudo apt install -y --install-recommends kicad
50
           sudo apt-get install -y zip
53
           sudo apt-get install -y zip

Loading…
Cancel
Save