ci: Remove Azure from APT sources
This should fix the GitHub actions build.
This commit is contained in:
parent
76ef2b481e
commit
c71a513401
4 changed files with 11 additions and 5 deletions
5
.github/workflows/cmake.yml
vendored
5
.github/workflows/cmake.yml
vendored
|
@ -16,7 +16,10 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apt install libboost-all-dev libsdl2-dev libglew-dev libopenal-dev libmad0-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev
|
||||
run: >
|
||||
sudo sed -i 's/azure\.//' /etc/apt/sources.list &&
|
||||
sudo apt-get update &&
|
||||
sudo apt install libboost-all-dev libsdl2-dev libglew-dev libopenal-dev libmad0-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev
|
||||
|
||||
- name: Create Build Environment
|
||||
run: cmake -E make_directory ${{github.workspace}}/build
|
||||
|
|
5
.github/workflows/coverity-scan.yml
vendored
5
.github/workflows/coverity-scan.yml
vendored
|
@ -16,7 +16,10 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apt install libboost-all-dev libsdl2-dev libglew-dev libopenal-dev libmad0-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev
|
||||
run: >
|
||||
sudo sed -i 's/azure\.//' /etc/apt/sources.list &&
|
||||
sudo apt-get update &&
|
||||
sudo apt install libboost-all-dev libsdl2-dev libglew-dev libopenal-dev libmad0-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev
|
||||
|
||||
- name: Create Build Environment
|
||||
run: cmake -E make_directory ${{github.workspace}}/build
|
||||
|
|
|
@ -50,8 +50,8 @@ public:
|
|||
bool getByTime(float time, V &value) const {
|
||||
if (_keyframes.empty()) return false;
|
||||
|
||||
const pair<float, V> *frame1 = &_keyframes[0];
|
||||
const pair<float, V> *frame2 = &_keyframes[0];
|
||||
const std::pair<float, V> *frame1 = &_keyframes[0];
|
||||
const std::pair<float, V> *frame2 = &_keyframes[0];
|
||||
for (auto it = _keyframes.begin(); it != _keyframes.end(); ++it) {
|
||||
if (it->first >= time) {
|
||||
frame2 = &*it;
|
||||
|
|
|
@ -134,7 +134,7 @@ void ModelNodeSceneNode::update(float dt) {
|
|||
|
||||
bool ModelNodeSceneNode::shouldRender() const {
|
||||
shared_ptr<ModelMesh> mesh(_modelNode->mesh());
|
||||
if (!mesh || !mesh->shouldRender() /* || _modelNode->alpha() == 0.0f */) return false;
|
||||
if (!mesh || !mesh->shouldRender() || _modelNode->alphas().getByKeyframeOrDefault(0, 1.0f) == 0.0f) return false;
|
||||
|
||||
return _modelNode->isAABB() ? g_debugWalkmesh : true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue