mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-17 19:14:05 +08:00
feat: Implement basic sccache action support
Signed-off-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
35
.github/workflows/test.yml
vendored
Normal file
35
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Test sccache
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
v0_3_3:
|
||||
name: Test version 0.3.3
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
- macos-lastest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set Node.js 16.x
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 16.x
|
||||
|
||||
- name: npm install
|
||||
run: npm install
|
||||
|
||||
- name: Run sccache-cache
|
||||
uses: ./
|
||||
with:
|
||||
version: "v0.3.3"
|
||||
|
||||
- name: Run sccache stat for check
|
||||
shell: bash
|
||||
run: ${SCCACHE_PATH} --stat
|
||||
Reference in New Issue
Block a user