mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 10:36:24 +00:00
CI: Pull test262 runner from SerenityOS/libjs-test262
This commit is contained in:
parent
c72a2f9e46
commit
fc44d09221
4
.github/workflows/libjs-test262.yml
vendored
4
.github/workflows/libjs-test262.yml
vendored
|
@ -21,10 +21,10 @@ jobs:
|
||||||
- name: Checkout SerenityOS/serenity
|
- name: Checkout SerenityOS/serenity
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout linusg/libjs-test262
|
- name: Checkout SerenityOS/libjs-test262
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: linusg/libjs-test262
|
repository: SerenityOS/libjs-test262
|
||||||
path: libjs-test262
|
path: libjs-test262
|
||||||
|
|
||||||
- name: Checkout linusg/libjs-website
|
- name: Checkout linusg/libjs-website
|
||||||
|
|
|
@ -22,10 +22,10 @@ Lagom is used by the Serenity project in the following ways:
|
||||||
## Using Lagom in an External Project
|
## Using Lagom in an External Project
|
||||||
It is possible to use Lagom for your own projects outside of Serenity too!
|
It is possible to use Lagom for your own projects outside of Serenity too!
|
||||||
|
|
||||||
An example of this in use can be found in [Linus's LibJS test262 runner](https://github.com/linusg/libjs-test262).
|
An example of this in use can be found in the [LibJS test262 runner](https://github.com/SerenityOS/libjs-test262).
|
||||||
|
|
||||||
To implement this yourself:
|
To implement this yourself:
|
||||||
- Download a copy of [linusg/libjs-test262/cmake/FetchLagom.cmake](https://github.com/linusg/libjs-test262/blob/7832c333c1504eecf1c5f9e4247aa6b34a52a3be/cmake/FetchLagom.cmake) and place it wherever you wish
|
- Download a copy of [SerenityOS/libjs-test262/cmake/FetchLagom.cmake](https://github.com/SerenityOS/libjs-test262/blob/7832c333c1504eecf1c5f9e4247aa6b34a52a3be/cmake/FetchLagom.cmake) and place it wherever you wish
|
||||||
- In your root `CMakeLists.txt`, add the following commands:
|
- In your root `CMakeLists.txt`, add the following commands:
|
||||||
```cmake
|
```cmake
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
Loading…
Reference in a new issue