Page MenuHomePhorge

D234.1759306343.diff
No OneTemporary

Size
6 KB
Referenced Files
None
Subscribers
None

D234.1759306343.diff

diff --git a/.arcconfig b/.arcconfig
new file mode 100644
--- /dev/null
+++ b/.arcconfig
@@ -0,0 +1,4 @@
+{
+ "phabricator.uri": "https://iron.lily-is.land",
+ "repository.callsign": "VB"
+}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
deleted file mode 100644
--- a/.github/workflows/ci.yml
+++ /dev/null
@@ -1,80 +0,0 @@
-name: CI
-
-on:
- workflow_dispatch:
- push:
- branches: [main]
- pull_request:
- branches: [main]
- types:
- - opened
- - reopened
- - synchronize
- - ready_for_review
-
-env:
- CARGO_TERM_COLOR: always
-
-jobs:
- style:
- name: Check style
- runs-on: ubuntu-latest
- if: github.event_name == 'push' || !github.event.pull_request.draft
-
- steps:
- - name: Checkout the repo
- uses: actions/checkout@v2
-
- - name: Install Rust
- uses: actions-rs/toolchain@v1
- with:
- toolchain: nightly
- components: rustfmt
- profile: minimal
- override: true
-
- - name: Cargo fmt
- uses: actions-rs/cargo@v1
- with:
- command: fmt
- args: -- --check
-
- typos:
- name: Spell Check with Typos
- needs: [style]
- runs-on: ubuntu-latest
- if: github.event_name == 'push' || !github.event.pull_request.draft
-
- steps:
- - name: Checkout Actions Repository
- uses: actions/checkout@v2
-
- - name: Check the spelling of the files in our repo
- uses: crate-ci/typos@master
-
- clippy:
- name: Run clippy
- needs: [style]
- runs-on: ubuntu-latest
- if: github.event_name == 'push' || !github.event.pull_request.draft
-
- steps:
- - name: Checkout the repo
- uses: actions/checkout@v2
-
- - name: Install Rust
- uses: actions-rs/toolchain@v1
- with:
- toolchain: nightly
- components: clippy
- profile: minimal
- override: true
-
- - name: Load cache
- uses: Swatinem/rust-cache@v1
-
- - name: Clippy
- uses: actions-rs/cargo@v1
- with:
- command: clippy
- args: --all-targets -- -D warnings
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
deleted file mode 100644
--- a/.github/workflows/cpp.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-name: c++ tests
-
-on:
- push:
- pull_request:
- branches: [main]
-
-jobs:
- Test:
- strategy:
- matrix:
- os: [ubuntu-latest]
- runs-on: "${{ matrix.os }}"
- steps:
- - uses: actions/checkout@v2
- - name: Install gtest
- uses: MarkusJx/googletest-installer@v1.1
- - uses: actions-rs/toolchain@v1
- with:
- toolchain: stable
- - uses: Swatinem/rust-cache@v1
- - name: Run the tests
- working-directory: ./cpp
- run: make test
diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml
deleted file mode 100644
--- a/.github/workflows/javascript.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: Javascript tests
-
-on:
- push:
- pull_request:
- branches: [main]
-
-jobs:
- Test:
- strategy:
- matrix:
- # Windows is missing from this list as wasm-pack didn't want to work
- # on it. We should try to add it back at some point in the future.
- os: [ubuntu-latest, macos-latest]
- node: ['16']
- include:
- - os: ubuntu-latest
- node: '14'
- - os: ubuntu-latest
- node: '12'
- runs-on: "${{ matrix.os }}"
- steps:
- - uses: actions/checkout@v2
- - name: Setup node
- uses: actions/setup-node@v3
- with:
- node-version: ${{ matrix.node }}
- - uses: actions-rs/toolchain@v1
- with:
- toolchain: stable
- - uses: Swatinem/rust-cache@v1
- - run: npm install
- working-directory: ./javascript
- - run: npm install -g wasm-pack
- - name: Run the tests
- working-directory: ./javascript
- run: npm test
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
deleted file mode 100644
--- a/.github/workflows/python.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-name: Python tests
-
-on:
- push:
- pull_request:
- branches: [main]
-
-jobs:
- Test:
- strategy:
- matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]
- python-version: [3.9]
- include:
- - os: ubuntu-latest
- python-version: "3.10"
- - os: ubuntu-latest
- python-version: 3.8
- - os: ubuntu-latest
- python-version: 3.7
- runs-on: "${{ matrix.os }}"
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python-version }}
- - uses: actions-rs/toolchain@v1
- with:
- toolchain: stable
- - uses: Swatinem/rust-cache@v1
- - run: python3 -m pip install nox
- - name: Run nox for ${{ matrix.python-version }}
- working-directory: ./python
- run: nox -s test-${{ matrix.python-version }}
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,25 +7,7 @@
- if: '$CI_COMMIT_TAG !~ /^phabricator\//'
stages:
- - prepare
- build
- - report
-
-.report:
- image:
- name: 'reg.lily.kazv.moe/infra/phorge-ci-tools:servant'
- rules:
- - if: $TARGET_PHID
- when: always
- - when: never
- before_script:
- - pipelineUrl="$CI_PROJECT_URL"/-/pipelines/"$CI_PIPELINE_ID"
-
-report-start:
- extends: .report
- stage: prepare
- script:
- - 'echo "{\"receiver\": \"$TARGET_PHID\", \"type\": \"work\", \"unit\": [{\"name\": \"GitLab CI (information only)\", \"result\": \"skip\", \"details\": \"$pipelineUrl\", \"format\": \"remarkup\"}]}" | /tools/arcanist/bin/arc call-conduit --conduit-uri https://iron.lily-is.land/ --conduit-token "$CONDUIT_TOKEN" -- harbormaster.sendmessage'
.build:
stage: build
@@ -60,23 +42,3 @@
- .build
before_script:
- BUILD_TYPE=debug
-
-report-success:
- extends: .report
- rules:
- - if: $TARGET_PHID
- when: on_success
- - when: never
- stage: report
- script:
- - 'echo "{\"receiver\": \"$TARGET_PHID\", \"type\": \"pass\"}" | /tools/arcanist/bin/arc call-conduit --conduit-uri https://iron.lily-is.land/ --conduit-token "$CONDUIT_TOKEN" -- harbormaster.sendmessage'
-
-report-failure:
- extends: .report
- rules:
- - if: $TARGET_PHID
- when: on_failure
- - when: never
- stage: report
- script:
- - 'echo "{\"receiver\": \"$TARGET_PHID\", \"type\": \"fail\"}" | /tools/arcanist/bin/arc call-conduit --conduit-uri https://iron.lily-is.land/ --conduit-token "$CONDUIT_TOKEN" -- harbormaster.sendmessage'

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 1, 1:12 AM (18 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
486570
Default Alt Text
D234.1759306343.diff (6 KB)

Event Timeline