Compare commits

...

5 Commits

Author SHA1 Message Date
Joe Previte
afc7a0ea98 Merge branch 'main' into jsjoeio/nfpm-fix 2022-12-16 08:55:24 -07:00
Joe Previte
87f606db2a chore(ci): update linux cross-compile runner 20.04 (#5896) 2022-12-16 08:54:23 -07:00
Joe Previte
6702b2d0af Merge branch 'main' into jsjoeio/nfpm-fix 2022-12-15 14:25:40 -07:00
Joe Previte
06483bc59d refactor: rm node_mods caching in release workflow (#5895) 2022-12-15 14:24:59 -07:00
Joe Previte
7305f2b216 Update ci/README.md 2022-12-15 09:40:47 -07:00
2 changed files with 3 additions and 25 deletions

View File

@@ -67,22 +67,12 @@ jobs:
- name: Decompress npm package
run: tar -xzf package.tar.gz
- name: Fetch dependencies from cache
id: cache-node-modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: yarn-build-linux-amd64-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-build-linux-amd64-
# NOTE: && here is deliberate - GitHub puts each line in its own `.sh`
# file when running inside a docker container.
- name: Build standalone release
run: source scl_source enable devtoolset-9 && npm run release:standalone
- name: Install test dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
- name: Run integration tests on standalone release
@@ -129,11 +119,11 @@ jobs:
# but this means we don't need to maintain a self-hosted runner!
# NOTE@jsjoeio:
# We used to use 16.04 until GitHub deprecated it on September 20, 2021
# See here: https://github.com/actions/virtual-environments/pull/3862/files
# We used to use 18.04 until GitHub browned it out on December 15, 2022
# See here: https://github.com/actions/runner-images/issues/6002
package-linux-cross:
name: Linux cross-compile builds
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
timeout-minutes: 15
needs: npm-version
strategy:
@@ -237,20 +227,10 @@ jobs:
- name: Decompress npm package
run: tar -xzf package.tar.gz
- name: Fetch dependencies from cache
id: cache-node-modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: yarn-build-macos-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-build-macos-
- name: Build standalone release
run: npm run release:standalone
- name: Install test dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: SKIP_SUBMODULE_DEPS=1 yarn install
- name: Run native module tests on standalone release

View File

@@ -112,5 +112,3 @@ Helps avoid clobbering the CI configuration.
- Loads all images in `./release-images` and then builds and pushes a multi architecture
docker manifest for the amd64 and arm64 images to `codercom/code-server:$VERSION` and
`codercom/code-server:latest`.
hello world